@webos-tools/cli 3.1.2 → 3.2.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 (1402) hide show
  1. package/.eslintignore +1 -1
  2. package/.eslintrc.js +52 -52
  3. package/APIs.js +79 -79
  4. package/CHANGELOG.md +201 -166
  5. package/LICENSE +201 -201
  6. package/LICENSES/342/200/216/LicenseRef-3rd_party_licenses.txt +1355 -0
  7. package/README.md +226 -219
  8. package/bin/ares-config.js +211 -202
  9. package/bin/ares-device-info.js +30 -30
  10. package/bin/ares-device.js +222 -219
  11. package/bin/ares-generate.js +274 -274
  12. package/bin/ares-inspect.js +179 -179
  13. package/bin/ares-install.js +223 -223
  14. package/bin/ares-launch.js +318 -318
  15. package/bin/ares-log.js +259 -259
  16. package/bin/ares-novacom.js +220 -220
  17. package/bin/ares-package.js +347 -336
  18. package/bin/ares-pull.js +156 -156
  19. package/bin/ares-push.js +155 -155
  20. package/bin/ares-server.js +174 -174
  21. package/bin/ares-setup-device.js +577 -525
  22. package/bin/ares-shell.js +132 -132
  23. package/bin/ares.js +166 -166
  24. package/files/conf/ares.json +50 -49
  25. package/files/conf/command-service.json +78 -73
  26. package/files/conf/config.json +31 -31
  27. package/files/conf/ipk.json +30 -30
  28. package/files/conf/novacom-devices.json +69 -52
  29. package/files/conf/query/query-app.json +14 -14
  30. package/files/conf/query/query-hosted.json +18 -18
  31. package/files/conf/query/query-package.json +10 -10
  32. package/files/conf/query/query-service.json +6 -6
  33. package/files/conf/sdk.json +8 -8
  34. package/files/conf/template.json +57 -57
  35. package/files/conf/webos_emul +27 -27
  36. package/files/conf-base/env/sdk-apollo.json +8 -8
  37. package/files/conf-base/env/sdk-ose.json +8 -8
  38. package/files/conf-base/env/sdk-signage.json +8 -0
  39. package/files/conf-base/env/sdk-tv.json +8 -8
  40. package/files/conf-base/key/pubkey-signage.pem +9 -0
  41. package/files/conf-base/profile/config-apollo.json +29 -29
  42. package/files/conf-base/profile/config-ose.json +29 -29
  43. package/files/conf-base/profile/config-signage.json +29 -0
  44. package/files/conf-base/profile/config-tv.json +31 -31
  45. package/files/conf-base/query/query-app.json +14 -14
  46. package/files/conf-base/query/query-hosted.json +18 -18
  47. package/files/conf-base/query/query-package.json +10 -10
  48. package/files/conf-base/query/query-service.json +6 -6
  49. package/files/conf-base/query/signage/query-app.json +14 -0
  50. package/files/conf-base/query/signage/query-service.json +6 -0
  51. package/files/conf-base/template-conf/apollo-sdk-templates.json +55 -50
  52. package/files/conf-base/template-conf/ose-templates.json +67 -67
  53. package/files/conf-base/template-conf/signage-sdk-templates.json +239 -0
  54. package/files/conf-base/template-conf/tv-sdk-templates.json +57 -57
  55. package/files/help/ares-config.help +48 -48
  56. package/files/help/ares-device.help +109 -109
  57. package/files/help/ares-generate.help +101 -91
  58. package/files/help/ares-inspect.help +77 -76
  59. package/files/help/ares-install.help +95 -95
  60. package/files/help/ares-launch.help +111 -105
  61. package/files/help/ares-log-pmlogd.help +84 -84
  62. package/files/help/ares-log.help +101 -101
  63. package/files/help/ares-novacom.help +68 -68
  64. package/files/help/ares-package.help +103 -101
  65. package/files/help/ares-pull.help +38 -38
  66. package/files/help/ares-push.help +38 -38
  67. package/files/help/ares-server.help +44 -44
  68. package/files/help/ares-setup-device.help +196 -156
  69. package/files/help/ares-shell.help +42 -42
  70. package/files/help/ares.help +52 -52
  71. package/files/help/readme.help +23 -23
  72. package/files/schema/ApplicationDescription.schema +319 -319
  73. package/files/schema/NovacomDevices.schema +63 -62
  74. package/files/templates/apollo-sdk-templates/appinfo/appinfo.json +10 -10
  75. package/files/templates/apollo-sdk-templates/bootplate-web/index.html +88 -88
  76. package/files/templates/apollo-sdk-templates/hosted-webapp/index.html +13 -13
  77. package/files/templates/apollo-sdk-templates/js-service/helloclient.js +31 -31
  78. package/files/templates/apollo-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  79. package/files/templates/apollo-sdk-templates/native-service/CMakeLists.txt +72 -0
  80. package/files/templates/apollo-sdk-templates/native-service/services.json +11 -0
  81. package/files/templates/apollo-sdk-templates/native-service/src/main.c +144 -0
  82. package/files/templates/apollo-sdk-templates/serviceinfo/package.json +11 -11
  83. package/files/templates/apollo-sdk-templates/serviceinfo/services.json +8 -8
  84. package/files/templates/ose-sdk-templates/appinfo/appinfo.json +10 -10
  85. package/files/templates/ose-sdk-templates/bootplate-web/index.html +88 -88
  86. package/files/templates/ose-sdk-templates/hosted-webapp/index.html +13 -13
  87. package/files/templates/ose-sdk-templates/js-service/helloclient.js +31 -31
  88. package/files/templates/ose-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  89. package/files/templates/ose-sdk-templates/qml-app/main.qml +68 -68
  90. package/files/templates/ose-sdk-templates/qmlappinfo/appinfo.json +10 -10
  91. package/files/templates/ose-sdk-templates/serviceinfo/package.json +11 -11
  92. package/files/templates/ose-sdk-templates/serviceinfo/services.json +8 -8
  93. package/files/templates/signage-sdk-templates/Backlight_Scheduling/clockTable.js +29 -0
  94. package/files/templates/signage-sdk-templates/Backlight_Scheduling/index.html +53 -0
  95. package/files/templates/signage-sdk-templates/Backlight_Scheduling/js/idcap.js +21 -0
  96. package/files/templates/signage-sdk-templates/Backlight_Scheduling/remocon.js +214 -0
  97. package/files/templates/signage-sdk-templates/Backlight_Scheduling/scheduler.js +123 -0
  98. package/files/templates/signage-sdk-templates/Backlight_Scheduling/setanddelete.js +25 -0
  99. package/files/templates/signage-sdk-templates/Backlight_Scheduling/style.css +213 -0
  100. package/files/templates/signage-sdk-templates/Download_Progress/app.css +27 -0
  101. package/files/templates/signage-sdk-templates/Download_Progress/app.js +407 -0
  102. package/files/templates/signage-sdk-templates/Download_Progress/index.html +32 -0
  103. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js +7038 -0
  104. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/LICENSE +201 -0
  105. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/configuration.js +1 -0
  106. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/deviceInfo.js +1 -0
  107. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/inputSource.js +1 -0
  108. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/power.js +1 -0
  109. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/signage.js +1 -0
  110. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/sound.js +1 -0
  111. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/storage.js +1 -0
  112. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/video.js +1 -0
  113. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/configuration.js +1 -0
  114. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/deviceInfo.js +1 -0
  115. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/inputSource.js +1 -0
  116. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/power.js +1 -0
  117. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/signage.js +1 -0
  118. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/sound.js +1 -0
  119. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/storage.js +1 -0
  120. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/video.js +1 -0
  121. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/configuration.js +1 -0
  122. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/deviceInfo.js +1 -0
  123. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/inputSource.js +1 -0
  124. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/power.js +1 -0
  125. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/signage.js +1 -0
  126. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/sound.js +1 -0
  127. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/storage.js +23 -0
  128. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/video.js +1 -0
  129. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/configuration.js +1 -0
  130. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/deviceInfo.js +1 -0
  131. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/inputSource.js +1 -0
  132. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/power.js +1 -0
  133. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/signage.js +1 -0
  134. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/sound.js +1 -0
  135. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/storage.js +1 -0
  136. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/video.js +1 -0
  137. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/configuration.js +9 -0
  138. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/deviceInfo.js +9 -0
  139. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/inputSource.js +9 -0
  140. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/power.js +9 -0
  141. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/security.js +9 -0
  142. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/signage.js +9 -0
  143. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/sound.js +9 -0
  144. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/storage.js +9 -0
  145. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/time.js +9 -0
  146. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/utility.js +9 -0
  147. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/video.js +9 -0
  148. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/configuration.js +9 -0
  149. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/deviceInfo.js +9 -0
  150. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/inputSource.js +9 -0
  151. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/power.js +9 -0
  152. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/security.js +9 -0
  153. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/signage.js +9 -0
  154. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/sound.js +9 -0
  155. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/storage.js +9 -0
  156. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/time.js +9 -0
  157. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/utility.js +9 -0
  158. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/video.js +9 -0
  159. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/configuration.js +9 -0
  160. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/deviceInfo.js +9 -0
  161. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/inputSource.js +9 -0
  162. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/power.js +9 -0
  163. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/security.js +9 -0
  164. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/signage.js +8 -0
  165. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/sound.js +9 -0
  166. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/storage.js +9 -0
  167. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/time.js +9 -0
  168. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/utility.js +9 -0
  169. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/video.js +9 -0
  170. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/configuration.js +9 -0
  171. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/deviceInfo.js +9 -0
  172. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/inputSource.js +9 -0
  173. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/power.js +9 -0
  174. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/security.js +9 -0
  175. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/signage.js +9 -0
  176. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/sound.js +9 -0
  177. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/storage.js +9 -0
  178. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/time.js +9 -0
  179. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/utility.js +9 -0
  180. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/video.js +9 -0
  181. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/configuration.js +1 -0
  182. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/deviceInfo.js +1 -0
  183. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/inputSource.js +1 -0
  184. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/power.js +1 -0
  185. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/security.js +1 -0
  186. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/signage.js +1 -0
  187. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/sound.js +1 -0
  188. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/storage.js +1 -0
  189. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/time.js +1 -0
  190. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/utility.js +1 -0
  191. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/video.js +1 -0
  192. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/configuration.js +1 -0
  193. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  194. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/inputSource.js +1 -0
  195. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/power.js +1 -0
  196. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/security.js +1 -0
  197. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/signage.js +1 -0
  198. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/sound.js +1 -0
  199. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/storage.js +1 -0
  200. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/time.js +1 -0
  201. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/utility.js +1 -0
  202. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/video.js +1 -0
  203. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/configuration.js +1 -0
  204. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/deviceInfo.js +1 -0
  205. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/inputSource.js +1 -0
  206. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/power.js +1 -0
  207. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/security.js +1 -0
  208. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/signage.js +1 -0
  209. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/sound.js +1 -0
  210. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/storage.js +1 -0
  211. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/time.js +1 -0
  212. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/utility.js +1 -0
  213. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/video.js +1 -0
  214. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/configuration.js +1 -0
  215. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/deviceInfo.js +1 -0
  216. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/inputSource.js +1 -0
  217. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/power.js +1 -0
  218. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/security.js +1 -0
  219. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/signage.js +1 -0
  220. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/sound.js +1 -0
  221. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/storage.js +1 -0
  222. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/time.js +1 -0
  223. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/utility.js +1 -0
  224. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/video.js +1 -0
  225. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/configuration.js +1 -0
  226. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/deviceInfo.js +1 -0
  227. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/inputSource.js +1 -0
  228. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/power.js +1 -0
  229. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/security.js +1 -0
  230. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/signage.js +1 -0
  231. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/sound.js +1 -0
  232. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/storage.js +1 -0
  233. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/time.js +1 -0
  234. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/utility.js +1 -0
  235. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/video.js +1 -0
  236. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/configuration.js +1 -0
  237. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  238. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/inputSource.js +1 -0
  239. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/power.js +1 -0
  240. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/security.js +1 -0
  241. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/signage.js +1 -0
  242. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/sound.js +1 -0
  243. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/storage.js +1 -0
  244. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/time.js +1 -0
  245. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/utility.js +1 -0
  246. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/video.js +1 -0
  247. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/configuration.js +1 -0
  248. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/deviceInfo.js +1 -0
  249. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/inputSource.js +1 -0
  250. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/power.js +1 -0
  251. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/security.js +1 -0
  252. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/signage.js +1 -0
  253. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/sound.js +1 -0
  254. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/storage.js +1 -0
  255. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/time.js +1 -0
  256. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/utility.js +1 -0
  257. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/video.js +1 -0
  258. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/configuration.js +1 -0
  259. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/deviceInfo.js +1 -0
  260. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/inputSource.js +1 -0
  261. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/power.js +1 -0
  262. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/security.js +1 -0
  263. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/signage.js +1 -0
  264. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/sound.js +1 -0
  265. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/storage.js +1 -0
  266. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/time.js +1 -0
  267. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/utility.js +1 -0
  268. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/video.js +1 -0
  269. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/configuration.js +1 -0
  270. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/deviceInfo.js +1 -0
  271. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/inputSource.js +1 -0
  272. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/power.js +1 -0
  273. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/security.js +1 -0
  274. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/signage.js +1 -0
  275. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/sound.js +1 -0
  276. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/storage.js +1 -0
  277. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/time.js +1 -0
  278. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/utility.js +1 -0
  279. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/video.js +1 -0
  280. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/configuration.js +1 -0
  281. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/deviceInfo.js +1 -0
  282. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/inputSource.js +1 -0
  283. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/power.js +1 -0
  284. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/security.js +1 -0
  285. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/signage.js +1 -0
  286. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/sound.js +1 -0
  287. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/storage.js +1 -0
  288. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/time.js +1 -0
  289. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/utility.js +1 -0
  290. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/video.js +1 -0
  291. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/configuration.js +1 -0
  292. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/deviceInfo.js +1 -0
  293. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/inputSource.js +1 -0
  294. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/power.js +1 -0
  295. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/security.js +1 -0
  296. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/signage.js +1 -0
  297. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/sound.js +1 -0
  298. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/storage.js +1 -0
  299. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/time.js +1 -0
  300. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/utility.js +1 -0
  301. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/video.js +1 -0
  302. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/configuration.js +1 -0
  303. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/deviceInfo.js +1 -0
  304. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/inputSource.js +1 -0
  305. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/power.js +1 -0
  306. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/security.js +1 -0
  307. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/signage.js +1 -0
  308. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/sound.js +1 -0
  309. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/storage.js +1 -0
  310. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/time.js +1 -0
  311. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/utility.js +1 -0
  312. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/video.js +1 -0
  313. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/configuration.js +1 -0
  314. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/deviceInfo.js +1 -0
  315. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/inputSource.js +1 -0
  316. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/power.js +1 -0
  317. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/security.js +1 -0
  318. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/signage.js +1 -0
  319. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/sound.js +1 -0
  320. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/storage.js +1 -0
  321. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/time.js +1 -0
  322. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/utility.js +1 -0
  323. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/video.js +1 -0
  324. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/configuration.js +1 -0
  325. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/deviceInfo.js +1 -0
  326. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/inputSource.js +1 -0
  327. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/power.js +1 -0
  328. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/security.js +1 -0
  329. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/signage.js +1 -0
  330. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/sound.js +1 -0
  331. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/storage.js +1 -0
  332. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/time.js +1 -0
  333. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/utility.js +1 -0
  334. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/video.js +1 -0
  335. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/configuration.js +1 -0
  336. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/deviceInfo.js +1 -0
  337. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/inputSource.js +1 -0
  338. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/power.js +1 -0
  339. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/security.js +1 -0
  340. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/signage.js +1 -0
  341. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/sound.js +1 -0
  342. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/storage.js +1 -0
  343. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/time.js +1 -0
  344. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/utility.js +1 -0
  345. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/video.js +1 -0
  346. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/configuration.js +1 -0
  347. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/deviceInfo.js +1 -0
  348. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/inputSource.js +1 -0
  349. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/power.js +1 -0
  350. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/security.js +1 -0
  351. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/signage.js +1 -0
  352. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/sound.js +1 -0
  353. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/storage.js +1 -0
  354. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/time.js +1 -0
  355. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/utility.js +1 -0
  356. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/video.js +1 -0
  357. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/configuration.js +1 -0
  358. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/deviceInfo.js +1 -0
  359. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/inputSource.js +1 -0
  360. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/power.js +1 -0
  361. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/security.js +1 -0
  362. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/signage.js +1 -0
  363. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/sound.js +1 -0
  364. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/storage.js +1 -0
  365. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/time.js +1 -0
  366. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/utility.js +1 -0
  367. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/video.js +1 -0
  368. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/configuration.js +1 -0
  369. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/deviceInfo.js +1 -0
  370. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/inputSource.js +1 -0
  371. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/led.js +1 -0
  372. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/power.js +1 -0
  373. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/security.js +1 -0
  374. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/signage.js +1 -0
  375. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/sound.js +1 -0
  376. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/storage.js +1 -0
  377. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/time.js +1 -0
  378. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/utility.js +1 -0
  379. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/video.js +1 -0
  380. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/configuration.js +1 -0
  381. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  382. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/inputSource.js +1 -0
  383. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/led.js +1 -0
  384. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/power.js +1 -0
  385. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/security.js +1 -0
  386. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/signage.js +1 -0
  387. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/sound.js +1 -0
  388. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/storage.js +1 -0
  389. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/time.js +1 -0
  390. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/utility.js +1 -0
  391. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/video.js +1 -0
  392. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/configuration.js +1 -0
  393. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/deviceInfo.js +1 -0
  394. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/inputSource.js +1 -0
  395. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/iot.js +1 -0
  396. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/power.js +1 -0
  397. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/security.js +1 -0
  398. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/signage.js +1 -0
  399. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/sound.js +1 -0
  400. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/storage.js +1 -0
  401. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/time.js +1 -0
  402. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/utility.js +1 -0
  403. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/video.js +1 -0
  404. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/configuration.js +1 -0
  405. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/deviceInfo.js +1 -0
  406. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/inputSource.js +1 -0
  407. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/iot.js +1 -0
  408. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/power.js +1 -0
  409. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/security.js +1 -0
  410. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/signage.js +1 -0
  411. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/sound.js +1 -0
  412. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/storage.js +1 -0
  413. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/time.js +1 -0
  414. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/utility.js +1 -0
  415. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/video.js +1 -0
  416. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/configuration.js +1 -0
  417. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/deviceInfo.js +1 -0
  418. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/inputSource.js +1 -0
  419. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/iot.js +1 -0
  420. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/led.js +1 -0
  421. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/power.js +1 -0
  422. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/security.js +1 -0
  423. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/signage.js +1 -0
  424. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/sound.js +1 -0
  425. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/storage.js +1 -0
  426. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/time.js +1 -0
  427. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/utility.js +1 -0
  428. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/video.js +1 -0
  429. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/configuration.js +1 -0
  430. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  431. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/inputSource.js +1 -0
  432. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/iot.js +1 -0
  433. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/led.js +1 -0
  434. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/power.js +1 -0
  435. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/security.js +1 -0
  436. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/signage.js +1 -0
  437. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/sound.js +1 -0
  438. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/storage.js +1 -0
  439. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/time.js +1 -0
  440. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/utility.js +1 -0
  441. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/video.js +1 -0
  442. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/configuration.js +1 -0
  443. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/deviceInfo.js +1 -0
  444. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/inputSource.js +1 -0
  445. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/iot.js +1 -0
  446. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/power.js +1 -0
  447. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/security.js +1 -0
  448. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/signage.js +1 -0
  449. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/sound.js +1 -0
  450. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/storage.js +1 -0
  451. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/time.js +1 -0
  452. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/utility.js +1 -0
  453. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/video.js +1 -0
  454. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/configuration.js +1 -0
  455. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  456. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/inputSource.js +1 -0
  457. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/iot.js +1 -0
  458. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/power.js +1 -0
  459. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/security.js +1 -0
  460. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/signage.js +1 -0
  461. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/sound.js +1 -0
  462. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/storage.js +1 -0
  463. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/time.js +1 -0
  464. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/utility.js +1 -0
  465. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/video.js +1 -0
  466. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.2.js +14 -0
  467. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.1.js +1 -0
  468. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.js +1 -0
  469. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.4.js +14 -0
  470. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/README.txt +40 -0
  471. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gpio.js +16 -0
  472. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gps.js +16 -0
  473. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/humidity.js +16 -0
  474. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/light.js +16 -0
  475. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/nfc.js +16 -0
  476. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/rfid.js +16 -0
  477. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/temperature.js +16 -0
  478. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/thermalPrinter.js +16 -0
  479. package/files/templates/signage-sdk-templates/Download_Progress/js/idcap.js +21 -0
  480. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/LICENSE-2.0.txt +202 -0
  481. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/webOS.js +1 -0
  482. package/files/templates/signage-sdk-templates/Download_Progress/res/webossignage_logo.png +0 -0
  483. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/css/styles.css +270 -0
  484. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/data/data.json +12 -0
  485. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans300.otf +0 -0
  486. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans700Italic.otf +0 -0
  487. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/index.html +43 -0
  488. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/controller.js +263 -0
  489. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/helpers/util.js +130 -0
  490. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/readme.txt +26 -0
  491. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_img_sign.png +0 -0
  492. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_logo_nike.png +0 -0
  493. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/videos/tpl_01_video.mp4 +0 -0
  494. package/files/templates/signage-sdk-templates/File_Explorer/README.txt +16 -0
  495. package/files/templates/signage-sdk-templates/File_Explorer/index.html +44 -0
  496. package/files/templates/signage-sdk-templates/File_Explorer/js/Root.js +48 -0
  497. package/files/templates/signage-sdk-templates/File_Explorer/js/definition.js +59 -0
  498. package/files/templates/signage-sdk-templates/File_Explorer/js/explorer.js +367 -0
  499. package/files/templates/signage-sdk-templates/File_Explorer/js/explorerController.js +462 -0
  500. package/files/templates/signage-sdk-templates/File_Explorer/js/idcap.js +21 -0
  501. package/files/templates/signage-sdk-templates/File_Explorer/js/mainController.js +261 -0
  502. package/files/templates/signage-sdk-templates/File_Explorer/style.css +233 -0
  503. package/files/templates/signage-sdk-templates/Flight_Schedule/appinfo.json +11 -0
  504. package/files/templates/signage-sdk-templates/Flight_Schedule/css/styles.css +168 -0
  505. package/files/templates/signage-sdk-templates/Flight_Schedule/data/data.json +5 -0
  506. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans300.otf +0 -0
  507. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans500.otf +0 -0
  508. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans700.otf +0 -0
  509. package/files/templates/signage-sdk-templates/Flight_Schedule/images/AAir.png +0 -0
  510. package/files/templates/signage-sdk-templates/Flight_Schedule/images/BAirline.png +0 -0
  511. package/files/templates/signage-sdk-templates/Flight_Schedule/images/CAirline.png +0 -0
  512. package/files/templates/signage-sdk-templates/Flight_Schedule/images/DAir.png +0 -0
  513. package/files/templates/signage-sdk-templates/Flight_Schedule/images/EAirline.png +0 -0
  514. package/files/templates/signage-sdk-templates/Flight_Schedule/images/tpl_05_img_flight.png +0 -0
  515. package/files/templates/signage-sdk-templates/Flight_Schedule/index.html +32 -0
  516. package/files/templates/signage-sdk-templates/Flight_Schedule/js/controller.js +235 -0
  517. package/files/templates/signage-sdk-templates/Flight_Schedule/js/helpers/util.js +183 -0
  518. package/files/templates/signage-sdk-templates/Flight_Schedule/readme.txt +29 -0
  519. package/files/templates/signage-sdk-templates/Flight_Schedule/server/example.json +4 -0
  520. package/files/templates/signage-sdk-templates/Flight_Schedule/server/package.json +9 -0
  521. package/files/templates/signage-sdk-templates/Flight_Schedule/server/readme.txt +30 -0
  522. package/files/templates/signage-sdk-templates/Flight_Schedule/server/routes/flights.js +493 -0
  523. package/files/templates/signage-sdk-templates/Flight_Schedule/server/server.js +43 -0
  524. package/files/templates/signage-sdk-templates/Information_Board/css/styles.css +239 -0
  525. package/files/templates/signage-sdk-templates/Information_Board/data/data.json +49 -0
  526. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 300.otf +0 -0
  527. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 500.otf +0 -0
  528. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 700.otf +0 -0
  529. package/files/templates/signage-sdk-templates/Information_Board/index.html +101 -0
  530. package/files/templates/signage-sdk-templates/Information_Board/js/controller.js +111 -0
  531. package/files/templates/signage-sdk-templates/Information_Board/js/helpers/util.js +130 -0
  532. package/files/templates/signage-sdk-templates/Information_Board/readme.txt +22 -0
  533. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_main_01.png +0 -0
  534. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_news.png +0 -0
  535. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_logo_harvard.png +0 -0
  536. package/files/templates/signage-sdk-templates/Information_Kiosk/css/styles.css +387 -0
  537. package/files/templates/signage-sdk-templates/Information_Kiosk/data/data.json +185 -0
  538. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300 Italic.otf +0 -0
  539. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300.otf +0 -0
  540. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500 Italic.otf +0 -0
  541. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500.otf +0 -0
  542. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700 Italic.otf +0 -0
  543. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700.otf +0 -0
  544. package/files/templates/signage-sdk-templates/Information_Kiosk/index.html +320 -0
  545. package/files/templates/signage-sdk-templates/Information_Kiosk/js/controller.js +373 -0
  546. package/files/templates/signage-sdk-templates/Information_Kiosk/js/helpers/util.js +130 -0
  547. package/files/templates/signage-sdk-templates/Information_Kiosk/readme.txt +26 -0
  548. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_n.png +0 -0
  549. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_p.png +0 -0
  550. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_n.png +0 -0
  551. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_p.png +0 -0
  552. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_n.png +0 -0
  553. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_p.png +0 -0
  554. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_n.png +0 -0
  555. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_p.png +0 -0
  556. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_bg_01.png +0 -0
  557. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_01.png +0 -0
  558. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_02.png +0 -0
  559. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_03.png +0 -0
  560. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_04.png +0 -0
  561. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_05.png +0 -0
  562. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_06.png +0 -0
  563. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_07.png +0 -0
  564. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_08.png +0 -0
  565. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_09.png +0 -0
  566. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_10.png +0 -0
  567. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_11.png +0 -0
  568. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_12.png +0 -0
  569. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_01.png +0 -0
  570. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_02.png +0 -0
  571. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_03.png +0 -0
  572. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_04.png +0 -0
  573. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_05.png +0 -0
  574. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_06.png +0 -0
  575. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_01.png +0 -0
  576. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_02.png +0 -0
  577. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_03.png +0 -0
  578. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_04.png +0 -0
  579. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_05.png +0 -0
  580. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_06.png +0 -0
  581. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_07.png +0 -0
  582. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_08.png +0 -0
  583. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_09.png +0 -0
  584. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_10.png +0 -0
  585. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_11.png +0 -0
  586. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_12.png +0 -0
  587. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_01.png +0 -0
  588. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_02.png +0 -0
  589. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_logo.png +0 -0
  590. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/index.html +40 -0
  591. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js +7038 -0
  592. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/LICENSE +201 -0
  593. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/configuration.js +1 -0
  594. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/deviceInfo.js +1 -0
  595. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/inputSource.js +1 -0
  596. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/power.js +1 -0
  597. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/signage.js +1 -0
  598. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/sound.js +1 -0
  599. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/storage.js +23 -0
  600. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/video.js +1 -0
  601. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/configuration.js +1 -0
  602. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/deviceInfo.js +1 -0
  603. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/inputSource.js +1 -0
  604. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/power.js +1 -0
  605. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/signage.js +1 -0
  606. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/sound.js +1 -0
  607. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/storage.js +1 -0
  608. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/video.js +1 -0
  609. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/configuration.js +1 -0
  610. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  611. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/inputSource.js +1 -0
  612. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/power.js +1 -0
  613. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/security.js +1 -0
  614. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/signage.js +1 -0
  615. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/sound.js +1 -0
  616. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/storage.js +1 -0
  617. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/time.js +1 -0
  618. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/utility.js +1 -0
  619. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/video.js +1 -0
  620. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/configuration.js +1 -0
  621. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  622. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/inputSource.js +1 -0
  623. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/power.js +1 -0
  624. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/security.js +1 -0
  625. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/signage.js +1 -0
  626. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/sound.js +1 -0
  627. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/storage.js +1 -0
  628. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/time.js +1 -0
  629. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/utility.js +1 -0
  630. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/video.js +1 -0
  631. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/configuration.js +1 -0
  632. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  633. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/inputSource.js +1 -0
  634. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/led.js +1 -0
  635. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/power.js +1 -0
  636. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/security.js +1 -0
  637. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/signage.js +1 -0
  638. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/sound.js +1 -0
  639. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/storage.js +1 -0
  640. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/time.js +1 -0
  641. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/utility.js +1 -0
  642. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/video.js +1 -0
  643. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/configuration.js +1 -0
  644. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  645. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/inputSource.js +1 -0
  646. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/iot.js +1 -0
  647. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/led.js +1 -0
  648. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/power.js +1 -0
  649. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/security.js +1 -0
  650. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/signage.js +1 -0
  651. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/sound.js +1 -0
  652. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/storage.js +1 -0
  653. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/time.js +1 -0
  654. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/utility.js +1 -0
  655. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/video.js +1 -0
  656. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/configuration.js +1 -0
  657. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  658. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/inputSource.js +1 -0
  659. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/iot.js +1 -0
  660. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/power.js +1 -0
  661. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/security.js +1 -0
  662. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/signage.js +1 -0
  663. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/sound.js +1 -0
  664. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/storage.js +1 -0
  665. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/time.js +1 -0
  666. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/utility.js +1 -0
  667. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/video.js +1 -0
  668. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/custom1.4.js +14 -0
  669. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/idcap.js +21 -0
  670. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/initializer.js +234 -0
  671. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/remocon.js +73 -0
  672. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/scheduler.js +84 -0
  673. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/videoPlayer.js +352 -0
  674. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/remocon.png +0 -0
  675. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/style.css +99 -0
  676. package/files/templates/signage-sdk-templates/Mart/css/styles.css +248 -0
  677. package/files/templates/signage-sdk-templates/Mart/data/data.json +37 -0
  678. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300 Italic.otf +0 -0
  679. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300.otf +0 -0
  680. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 500.otf +0 -0
  681. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 700.otf +0 -0
  682. package/files/templates/signage-sdk-templates/Mart/index.html +81 -0
  683. package/files/templates/signage-sdk-templates/Mart/js/controller.js +102 -0
  684. package/files/templates/signage-sdk-templates/Mart/js/helpers/util.js +130 -0
  685. package/files/templates/signage-sdk-templates/Mart/readme.txt +26 -0
  686. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img.png +0 -0
  687. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_bg.png +0 -0
  688. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_brand.png +0 -0
  689. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_01.png +0 -0
  690. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_02.png +0 -0
  691. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_03.png +0 -0
  692. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_04.png +0 -0
  693. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_tag.png +0 -0
  694. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_logo.png +0 -0
  695. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/css/styles.css +40 -0
  696. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/data/data.json +6 -0
  697. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/index.html +28 -0
  698. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/controller.js +427 -0
  699. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/helpers/util.js +134 -0
  700. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/readme.txt +26 -0
  701. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/images/tpl_02_img_poster.jpg +0 -0
  702. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_01.mp4 +0 -0
  703. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_02.mp4 +0 -0
  704. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/css/styles.css +163 -0
  705. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/data/data.json +92 -0
  706. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans300.otf +0 -0
  707. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans500.otf +0 -0
  708. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700.otf +0 -0
  709. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700Italic.otf +0 -0
  710. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/index.html +197 -0
  711. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/controller.js +158 -0
  712. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/helpers/util.js +130 -0
  713. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/readme.txt +26 -0
  714. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_bg_top.png +0 -0
  715. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_01.png +0 -0
  716. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_02.png +0 -0
  717. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_03.png +0 -0
  718. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_04.png +0 -0
  719. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_05.png +0 -0
  720. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_06.png +0 -0
  721. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_07.png +0 -0
  722. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_08.png +0 -0
  723. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_09.png +0 -0
  724. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_logo.png +0 -0
  725. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/index.html +29 -0
  726. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/js/idcap.js +21 -0
  727. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/networkMonitor.js +136 -0
  728. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/style.css +142 -0
  729. package/files/templates/signage-sdk-templates/Special_Menu_Board/css/styles.css +281 -0
  730. package/files/templates/signage-sdk-templates/Special_Menu_Board/data/data.json +33 -0
  731. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300 Italic.otf +0 -0
  732. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300.otf +0 -0
  733. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500 Italic.otf +0 -0
  734. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500.otf +0 -0
  735. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700 Italic.otf +0 -0
  736. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700.otf +0 -0
  737. package/files/templates/signage-sdk-templates/Special_Menu_Board/index.html +110 -0
  738. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/controller.js +171 -0
  739. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/helpers/util.js +130 -0
  740. package/files/templates/signage-sdk-templates/Special_Menu_Board/readme.txt +26 -0
  741. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_bg.png +0 -0
  742. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01.png +0 -0
  743. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01_l.png +0 -0
  744. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_02.png +0 -0
  745. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_03.png +0 -0
  746. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_04.png +0 -0
  747. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_05.png +0 -0
  748. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_01.png +0 -0
  749. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_02.png +0 -0
  750. package/files/templates/signage-sdk-templates/Wayfinder/css/styles.css +634 -0
  751. package/files/templates/signage-sdk-templates/Wayfinder/data/data.json +339 -0
  752. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans300.otf +0 -0
  753. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans500.otf +0 -0
  754. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700.otf +0 -0
  755. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700Italic.otf +0 -0
  756. package/files/templates/signage-sdk-templates/Wayfinder/index.html +171 -0
  757. package/files/templates/signage-sdk-templates/Wayfinder/js/controller.js +447 -0
  758. package/files/templates/signage-sdk-templates/Wayfinder/js/helpers/util.js +175 -0
  759. package/files/templates/signage-sdk-templates/Wayfinder/readme.txt +26 -0
  760. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_btn_back_n.png +0 -0
  761. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_n.png +0 -0
  762. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_s.png +0 -0
  763. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_01.png +0 -0
  764. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_02.png +0 -0
  765. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_03.png +0 -0
  766. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_d.png +0 -0
  767. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_n.png +0 -0
  768. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_d.png +0 -0
  769. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_n.png +0 -0
  770. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_d.png +0 -0
  771. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_n.png +0 -0
  772. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_shadow.png +0 -0
  773. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_01_n.png +0 -0
  774. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_02_n.png +0 -0
  775. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_03_n.png +0 -0
  776. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point.png +0 -0
  777. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point_shadow.png +0 -0
  778. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_elevator.png +0 -0
  779. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_escalator.png +0 -0
  780. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_exit.png +0 -0
  781. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_info.png +0 -0
  782. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_parking.png +0 -0
  783. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_toilet.png +0 -0
  784. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_lg.png +0 -0
  785. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_shoppingmall_name.png +0 -0
  786. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_store.png +0 -0
  787. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_popup_bg.png +0 -0
  788. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/css/styles.css +136 -0
  789. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/data/data.json +33 -0
  790. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 300.otf +0 -0
  791. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 500.otf +0 -0
  792. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 700.otf +0 -0
  793. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/index.html +51 -0
  794. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/controller.js +265 -0
  795. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/helpers/util.js +130 -0
  796. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/readme.txt +26 -0
  797. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/ajax.gif +0 -0
  798. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_cloudy.png +0 -0
  799. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_partlycloudy.png +0 -0
  800. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_rainy.png +0 -0
  801. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_snowy.png +0 -0
  802. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_sunny.png +0 -0
  803. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_thunder.png +0 -0
  804. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_windy.png +0 -0
  805. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_01.png +0 -0
  806. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_02.png +0 -0
  807. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_03.png +0 -0
  808. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_04.png +0 -0
  809. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_05.png +0 -0
  810. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_06.png +0 -0
  811. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_07.png +0 -0
  812. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_logo.png +0 -0
  813. package/files/templates/signage-sdk-templates/Widget_Overlay/css/styles.css +312 -0
  814. package/files/templates/signage-sdk-templates/Widget_Overlay/data/data.json +16 -0
  815. package/files/templates/signage-sdk-templates/Widget_Overlay/data/newsWidget.json +21 -0
  816. package/files/templates/signage-sdk-templates/Widget_Overlay/data/shareWidget.json +112 -0
  817. package/files/templates/signage-sdk-templates/Widget_Overlay/data/weatherWidget.json +45 -0
  818. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans300.otf +0 -0
  819. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans500.otf +0 -0
  820. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans700.otf +0 -0
  821. package/files/templates/signage-sdk-templates/Widget_Overlay/index.html +62 -0
  822. package/files/templates/signage-sdk-templates/Widget_Overlay/js/controller.js +390 -0
  823. package/files/templates/signage-sdk-templates/Widget_Overlay/js/helpers/util.js +162 -0
  824. package/files/templates/signage-sdk-templates/Widget_Overlay/readme.txt +26 -0
  825. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/Namo.jpg +0 -0
  826. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/NotAvailable.png +0 -0
  827. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clear.png +0 -0
  828. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clouds.png +0 -0
  829. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/default.png +0 -0
  830. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/koreanFt.jpg +0 -0
  831. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/mist.png +0 -0
  832. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/rain.png +0 -0
  833. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/snow.png +0 -0
  834. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/thunder.png +0 -0
  835. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_01.png +0 -0
  836. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_02.png +0 -0
  837. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_01.png +0 -0
  838. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_02.png +0 -0
  839. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news.png +0 -0
  840. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news1.png +0 -0
  841. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_video_dim.png +0 -0
  842. package/files/templates/signage-sdk-templates/Widget_Overlay/res/videos/tpl_07_video.mp4 +0 -0
  843. package/files/templates/signage-sdk-templates/appinfo/appinfo.json +11 -0
  844. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/idcap.js +21 -0
  845. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/release_notes.txt +25 -0
  846. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js +7025 -0
  847. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE +7025 -0
  848. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/configuration.js +1 -0
  849. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/deviceInfo.js +1 -0
  850. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/inputSource.js +1 -0
  851. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/power.js +1 -0
  852. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/signage.js +1 -0
  853. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/sound.js +1 -0
  854. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/storage.js +1 -0
  855. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/video.js +1 -0
  856. package/files/templates/signage-sdk-templates/scap_api/1.3/js/release_notes.txt +109 -0
  857. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js +7038 -0
  858. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/LICENSE +201 -0
  859. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/configuration.js +1 -0
  860. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/deviceInfo.js +1 -0
  861. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/inputSource.js +1 -0
  862. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/power.js +1 -0
  863. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/security.js +1 -0
  864. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/signage.js +1 -0
  865. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/sound.js +1 -0
  866. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/storage.js +1 -0
  867. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/time.js +1 -0
  868. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/utility.js +1 -0
  869. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/video.js +1 -0
  870. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/all.css +358 -0
  871. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  872. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  873. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  874. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  875. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  876. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  877. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  878. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  879. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/handheld.css +217 -0
  880. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/screen.css +405 -0
  881. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/files.html +577 -0
  882. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/index.html +1203 -0
  883. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/intro.html +100 -0
  884. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/all.js +326 -0
  885. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/dessert.css +34 -0
  886. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  887. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-clj.js +64 -0
  888. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-css.js +78 -0
  889. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-go.js +58 -0
  890. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-hs.js +101 -0
  891. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  892. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lua.js +59 -0
  893. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-ml.js +56 -0
  894. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-n.js +62 -0
  895. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-proto.js +35 -0
  896. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-scala.js +54 -0
  897. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-sql.js +57 -0
  898. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-tex.js +46 -0
  899. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vb.js +61 -0
  900. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  901. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  902. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-xq.js +67 -0
  903. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  904. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.css +52 -0
  905. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.js +1477 -0
  906. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/html5.js +6 -0
  907. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#clearCache.html +550 -0
  908. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getCurrentTime.html +560 -0
  909. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getLocaleList.html +560 -0
  910. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLanguage.html +560 -0
  911. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLock.html +560 -0
  912. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureMode.html +560 -0
  913. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureProperty.html +560 -0
  914. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getProperty.html +561 -0
  915. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getServerProperty.html +560 -0
  916. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZone.html +560 -0
  917. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZoneList.html +560 -0
  918. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getUSBLock.html +560 -0
  919. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +560 -0
  920. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#restartApplication.html +550 -0
  921. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setCurrentTime.html +566 -0
  922. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLanguage.html +566 -0
  923. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLock.html +566 -0
  924. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureMode.html +566 -0
  925. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureProperty.html +566 -0
  926. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setProperty.html +561 -0
  927. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setServerProperty.html +610 -0
  928. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setTimeZone.html +566 -0
  929. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setUSBLock.html +566 -0
  930. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +566 -0
  931. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppMode.html +685 -0
  932. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppType.html +640 -0
  933. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.PictureMode.html +910 -0
  934. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#connectWifi.html +561 -0
  935. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getBeaconInfo.html +560 -0
  936. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +560 -0
  937. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkInfo.html +560 -0
  938. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +560 -0
  939. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getPlatformInfo.html +560 -0
  940. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getProxyInfo.html +560 -0
  941. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSoftApInfo.html +560 -0
  942. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +566 -0
  943. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getWifiList.html +560 -0
  944. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +560 -0
  945. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setBeaconInfo.html +561 -0
  946. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +566 -0
  947. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setNetworkInfo.html +561 -0
  948. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setProxyInfo.html +566 -0
  949. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setSoftApInfo.html +561 -0
  950. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +566 -0
  951. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#startWps.html +566 -0
  952. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#stopWps.html +555 -0
  953. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo.EddystoneFrame.html +640 -0
  954. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.ERROR_CODE.html +820 -0
  955. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.html +460 -0
  956. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#changeInputSource.html +566 -0
  957. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#getInputSourceStatus.html +560 -0
  958. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#initialize.html +561 -0
  959. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOffTimer.html +566 -0
  960. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOnTimer.html +566 -0
  961. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOffTimer.html +566 -0
  962. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOnTimer.html +566 -0
  963. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOffTimer.html +566 -0
  964. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOnTimer.html +566 -0
  965. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableWakeOnLan.html +566 -0
  966. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#executePowerCommand.html +566 -0
  967. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getDPMWakeup.html +560 -0
  968. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOffTimerList.html +560 -0
  969. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOnTimerList.html +560 -0
  970. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPMMode.html +560 -0
  971. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerOnDelay.html +560 -0
  972. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerStatus.html +560 -0
  973. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDPMWakeup.html +566 -0
  974. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDisplayMode.html +566 -0
  975. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPMMode.html +566 -0
  976. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPowerOnDelay.html +566 -0
  977. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DPMSignalType.html +640 -0
  978. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DisplayMode.html +640 -0
  979. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PMMode.html +775 -0
  980. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PowerCommand.html +640 -0
  981. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.TimerWeek.html +910 -0
  982. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#existServerCertificate.html +561 -0
  983. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#registerServerCertificate.html +561 -2
  984. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#unregisterServerCertificate.html +561 -0
  985. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#captureScreen.html +561 -0
  986. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#enableCheckScreen.html +566 -0
  987. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getFailoverMode.html +555 -0
  988. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getIntelligentAuto.html +560 -0
  989. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getLanDaisyChain.html +560 -0
  990. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getPowerSaveMode.html +555 -0
  991. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSignageInfo.html +555 -0
  992. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getStudioMode.html +560 -0
  993. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSystemMonitoringInfo.html +555 -0
  994. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getTileInfo.html +555 -0
  995. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsageData.html +555 -0
  996. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsagePermission.html +555 -0
  997. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#registerSystemMonitor.html +573 -0
  998. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setDigitalAudioInputMode.html +567 -0
  999. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setFailoverMode.html +567 -0
  1000. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIntelligentAuto.html +566 -0
  1001. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIsmMethod.html +567 -0
  1002. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setLanDaisyChain.html +566 -0
  1003. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPortraitMode.html +567 -0
  1004. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPowerSaveMode.html +567 -0
  1005. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setStudioMode.html +566 -0
  1006. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setTileInfo.html +567 -0
  1007. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setUsagePermission.html +567 -0
  1008. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#unregisterSystemMonitor.html +555 -0
  1009. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.AutomaticStandbyMode.html +640 -0
  1010. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DigitalAudioInput.html +640 -0
  1011. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DpmMode.html +910 -0
  1012. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.EventType.html +775 -0
  1013. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.FailoverMode.html +685 -0
  1014. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.ImgResolution.html +640 -0
  1015. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.IsmMethod.html +910 -0
  1016. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.KeyOperationMode.html +685 -0
  1017. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.MonitoringSource.html +775 -0
  1018. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.OsdPortraitMode.html +640 -0
  1019. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundMode.html +560 -0
  1020. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundOut.html +560 -0
  1021. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundStatus.html +560 -0
  1022. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setExternalSpeaker.html +566 -0
  1023. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setMuted.html +566 -0
  1024. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundMode.html +566 -0
  1025. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundOut.html +566 -0
  1026. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setVolumeLevel.html +566 -0
  1027. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SoundMode.html +820 -0
  1028. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SpeakerType.html +640 -0
  1029. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#changeLogoImage.html +566 -0
  1030. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#copyFile.html +561 -0
  1031. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#downloadFirmware.html +566 -0
  1032. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#exists.html +561 -0
  1033. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#fsync.html +561 -0
  1034. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +560 -0
  1035. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getStorageInfo.html +555 -0
  1036. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#listFiles.html +561 -0
  1037. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#mkdir.html +561 -0
  1038. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#moveFile.html +561 -0
  1039. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#readFile.html +563 -0
  1040. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeAll.html +561 -0
  1041. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeApplication.html +566 -0
  1042. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeFile.html +561 -0
  1043. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#statFile.html +561 -0
  1044. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#unzipFile.html +561 -0
  1045. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeApplication.html +566 -0
  1046. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeFirmware.html +560 -0
  1047. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#writeFile.html +561 -0
  1048. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppMode.html +640 -0
  1049. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppType.html +640 -0
  1050. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.SCAP_URI.html +512 -0
  1051. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#addHolidaySchedule.html +566 -0
  1052. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delAllHolidaySchedules.html +566 -0
  1053. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delHolidaySchedule.html +566 -0
  1054. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getAllHolidaySchedules.html +560 -0
  1055. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getHolidayScheduleMode.html +560 -0
  1056. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#setHolidayScheduleMode.html +566 -0
  1057. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Utility#createToast.html +561 -0
  1058. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getContentRotation.html +560 -0
  1059. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getVideoStatus.html +560 -0
  1060. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setContentRotation.html +566 -0
  1061. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setRotatedVideoTransform.html +566 -0
  1062. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoSize.html +566 -0
  1063. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoViewTransform.html +566 -0
  1064. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/_global_.html +453 -0
  1065. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/media_status.jpg +0 -0
  1066. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/setVideoSize.png +0 -0
  1067. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1068. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_deviceInfo.js.html +1860 -0
  1069. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_inputSource.js.html +1382 -0
  1070. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_power.js.html +2697 -0
  1071. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_security.js.html +357 -0
  1072. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_signage.js.html +3601 -0
  1073. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_sound.js.html +1123 -0
  1074. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_storage.js.html +2615 -0
  1075. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_time.js.html +720 -0
  1076. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_utility.js.html +196 -0
  1077. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_video.js.html +1090 -0
  1078. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/release_notes.txt +148 -0
  1079. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js +7038 -0
  1080. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/LICENSE +201 -0
  1081. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/configuration.js +1 -0
  1082. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/deviceInfo.js +1 -0
  1083. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/inputSource.js +1 -0
  1084. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/power.js +1 -0
  1085. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/security.js +1 -0
  1086. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/signage.js +1 -0
  1087. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/sound.js +1 -0
  1088. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/storage.js +1 -0
  1089. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/time.js +1 -0
  1090. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/utility.js +1 -0
  1091. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/video.js +1 -0
  1092. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/all.css +358 -0
  1093. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  1094. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  1095. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  1096. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  1097. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  1098. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  1099. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  1100. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  1101. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/handheld.css +217 -0
  1102. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/screen.css +405 -0
  1103. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/files.html +599 -0
  1104. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/index.html +1280 -0
  1105. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/intro.html +100 -0
  1106. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/all.js +326 -0
  1107. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/dessert.css +34 -0
  1108. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  1109. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-clj.js +64 -0
  1110. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-css.js +78 -0
  1111. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-go.js +58 -0
  1112. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-hs.js +101 -0
  1113. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  1114. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lua.js +59 -0
  1115. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-ml.js +56 -0
  1116. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-n.js +62 -0
  1117. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-proto.js +35 -0
  1118. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-scala.js +54 -0
  1119. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-sql.js +57 -0
  1120. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-tex.js +46 -0
  1121. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vb.js +61 -0
  1122. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  1123. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  1124. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-xq.js +67 -0
  1125. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  1126. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.css +52 -0
  1127. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.js +1477 -0
  1128. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/html5.js +6 -0
  1129. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#clearCache.html +572 -0
  1130. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getCurrentTime.html +582 -0
  1131. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getLocaleList.html +582 -0
  1132. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLanguage.html +582 -0
  1133. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLock.html +582 -0
  1134. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureMode.html +582 -0
  1135. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureProperty.html +582 -0
  1136. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getProperty.html +583 -0
  1137. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getServerProperty.html +582 -0
  1138. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZone.html +582 -0
  1139. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZoneList.html +582 -0
  1140. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getUSBLock.html +582 -0
  1141. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +582 -0
  1142. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#restartApplication.html +572 -0
  1143. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setCurrentTime.html +588 -0
  1144. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLanguage.html +588 -0
  1145. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLock.html +588 -0
  1146. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureMode.html +588 -0
  1147. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureProperty.html +588 -0
  1148. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setProperty.html +583 -0
  1149. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setServerProperty.html +632 -0
  1150. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setTimeZone.html +588 -0
  1151. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setUSBLock.html +588 -0
  1152. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +588 -0
  1153. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppMode.html +707 -0
  1154. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppType.html +662 -0
  1155. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.PictureMode.html +932 -0
  1156. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#connectWifi.html +583 -0
  1157. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getBeaconInfo.html +582 -0
  1158. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +582 -0
  1159. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getExternalInputList.html +588 -0
  1160. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkInfo.html +582 -0
  1161. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +582 -0
  1162. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getPlatformInfo.html +582 -0
  1163. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getProxyInfo.html +582 -0
  1164. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSoftApInfo.html +582 -0
  1165. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +588 -0
  1166. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getWifiList.html +582 -0
  1167. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +582 -0
  1168. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setBeaconInfo.html +583 -0
  1169. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +588 -0
  1170. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setNetworkInfo.html +583 -0
  1171. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setProxyInfo.html +588 -0
  1172. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setSoftApInfo.html +583 -0
  1173. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +588 -0
  1174. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#startWps.html +588 -0
  1175. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#stopWps.html +577 -0
  1176. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo.EddystoneFrame.html +662 -0
  1177. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.ERROR_CODE.html +842 -0
  1178. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.html +482 -0
  1179. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#changeInputSource.html +588 -0
  1180. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#getInputSourceStatus.html +582 -0
  1181. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#initialize.html +583 -0
  1182. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOffTimer.html +588 -0
  1183. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOnTimer.html +588 -0
  1184. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOffTimer.html +588 -0
  1185. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOnTimer.html +588 -0
  1186. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOffTimer.html +588 -0
  1187. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOnTimer.html +588 -0
  1188. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableWakeOnLan.html +588 -0
  1189. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#executePowerCommand.html +588 -0
  1190. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getDPMWakeup.html +582 -0
  1191. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOffTimerList.html +582 -0
  1192. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnOffTimeSchedule.html +582 -0
  1193. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnTimerList.html +582 -0
  1194. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPMMode.html +582 -0
  1195. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerOnDelay.html +582 -0
  1196. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerStatus.html +582 -0
  1197. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDPMWakeup.html +588 -0
  1198. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDisplayMode.html +588 -0
  1199. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setOnOffTimeSchedule.html +583 -0
  1200. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPMMode.html +588 -0
  1201. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPowerOnDelay.html +588 -0
  1202. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#unsetOnOffTimeSchedule.html +582 -0
  1203. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DPMSignalType.html +662 -0
  1204. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DisplayMode.html +662 -0
  1205. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PMMode.html +797 -0
  1206. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PowerCommand.html +662 -0
  1207. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.TimerWeek.html +932 -0
  1208. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#existServerCertificate.html +583 -0
  1209. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#registerServerCertificate.html +583 -2
  1210. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#unregisterServerCertificate.html +583 -0
  1211. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#captureScreen.html +583 -0
  1212. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#enableCheckScreen.html +588 -0
  1213. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getFailoverMode.html +577 -0
  1214. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getIntelligentAuto.html +582 -0
  1215. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getLanDaisyChain.html +582 -0
  1216. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getPowerSaveMode.html +577 -0
  1217. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSignageInfo.html +577 -0
  1218. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getStudioMode.html +582 -0
  1219. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSystemMonitoringInfo.html +577 -0
  1220. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getTileInfo.html +577 -0
  1221. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsageData.html +577 -0
  1222. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsagePermission.html +577 -0
  1223. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerRS232CEventListener.html +594 -0
  1224. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerSystemMonitor.html +595 -0
  1225. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setDigitalAudioInputMode.html +589 -0
  1226. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setFailoverMode.html +589 -0
  1227. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIntelligentAuto.html +588 -0
  1228. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIsmMethod.html +589 -0
  1229. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setLanDaisyChain.html +588 -0
  1230. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPortraitMode.html +589 -0
  1231. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPowerSaveMode.html +589 -0
  1232. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setStudioMode.html +588 -0
  1233. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setTileInfo.html +589 -0
  1234. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setUsagePermission.html +589 -0
  1235. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterRS232CEventListener.html +582 -0
  1236. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterSystemMonitor.html +577 -0
  1237. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.AutomaticStandbyMode.html +662 -0
  1238. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DigitalAudioInput.html +662 -0
  1239. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DpmMode.html +932 -0
  1240. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.EventType.html +797 -0
  1241. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.FailoverMode.html +707 -0
  1242. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.ImgResolution.html +662 -0
  1243. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.IsmMethod.html +932 -0
  1244. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.KeyOperationMode.html +707 -0
  1245. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.MonitoringSource.html +797 -0
  1246. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.OsdPortraitMode.html +662 -0
  1247. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundMode.html +582 -0
  1248. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundOut.html +582 -0
  1249. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundStatus.html +582 -0
  1250. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setExternalSpeaker.html +588 -0
  1251. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setMuted.html +588 -0
  1252. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundMode.html +588 -0
  1253. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundOut.html +588 -0
  1254. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setVolumeLevel.html +588 -0
  1255. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SoundMode.html +842 -0
  1256. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SpeakerType.html +662 -0
  1257. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#changeLogoImage.html +588 -0
  1258. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#copyFile.html +583 -0
  1259. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#decryptFile.html +583 -0
  1260. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#downloadFirmware.html +588 -0
  1261. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#exists.html +583 -0
  1262. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#fsync.html +583 -0
  1263. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +582 -0
  1264. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getMD5Hash.html +583 -0
  1265. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getStorageInfo.html +577 -0
  1266. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#listFiles.html +583 -0
  1267. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#mkdir.html +583 -0
  1268. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#moveFile.html +583 -0
  1269. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#readFile.html +585 -0
  1270. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeAll.html +583 -0
  1271. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeApplication.html +588 -0
  1272. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeFile.html +583 -0
  1273. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#statFile.html +583 -0
  1274. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#unzipFile.html +583 -0
  1275. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeApplication.html +588 -0
  1276. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeFirmware.html +582 -0
  1277. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#writeFile.html +583 -0
  1278. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppMode.html +662 -0
  1279. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppType.html +662 -0
  1280. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.SCAP_URI.html +534 -0
  1281. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#addHolidaySchedule.html +588 -0
  1282. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delAllHolidaySchedules.html +588 -0
  1283. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delHolidaySchedule.html +588 -0
  1284. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getAllHolidaySchedules.html +582 -0
  1285. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidaySchedule.html +582 -0
  1286. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidayScheduleMode.html +582 -0
  1287. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidaySchedule.html +583 -0
  1288. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidayScheduleMode.html +588 -0
  1289. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#unsetHolidaySchedule.html +582 -0
  1290. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Utility#createToast.html +583 -0
  1291. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getContentRotation.html +586 -0
  1292. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getVideoStatus.html +582 -0
  1293. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setContentRotation.html +592 -0
  1294. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setRotatedVideoTransform.html +592 -0
  1295. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoSize.html +588 -0
  1296. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoViewTransform.html +592 -0
  1297. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/_global_.html +475 -0
  1298. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/media_status.jpg +0 -0
  1299. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/setVideoSize.png +0 -0
  1300. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1301. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_deviceInfo.js.html +1930 -0
  1302. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_inputSource.js.html +1383 -0
  1303. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_power.js.html +2942 -0
  1304. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_security.js.html +352 -0
  1305. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_signage.js.html +3853 -0
  1306. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_sound.js.html +1123 -0
  1307. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_storage.js.html +2747 -0
  1308. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_time.js.html +976 -0
  1309. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_utility.js.html +196 -0
  1310. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_video.js.html +754 -0
  1311. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/release_notes.txt +148 -0
  1312. package/files/templates/signage-sdk-templates/serviceinfo/package.json +11 -0
  1313. package/files/templates/signage-sdk-templates/serviceinfo/services.json +8 -0
  1314. package/files/templates/signage-sdk-templates/signageicon/icon.png +0 -0
  1315. package/files/templates/signage-sdk-templates/signageicon/largeIcon.png +0 -0
  1316. package/files/templates/signage-sdk-templates/webos-service/helloclient.js +23 -0
  1317. package/files/templates/signage-sdk-templates/webos-service/helloworld_webos_service.js +128 -0
  1318. package/files/templates/tv-sdk-templates/appinfo/appinfo.json +10 -10
  1319. package/files/templates/tv-sdk-templates/bootplate-web/index.html +58 -58
  1320. package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.10/LICENSE-2.0.txt +202 -202
  1321. package/files/templates/tv-sdk-templates/hosted-webapp/index.html +14 -14
  1322. package/files/templates/tv-sdk-templates/js-service/helloworld_service.js +39 -39
  1323. package/files/templates/tv-sdk-templates/packageinfo/packageinfo.json +3 -3
  1324. package/files/templates/tv-sdk-templates/serviceinfo/package.json +11 -11
  1325. package/files/templates/tv-sdk-templates/serviceinfo/services.json +8 -8
  1326. package/lib/base/ares.html +40 -40
  1327. package/lib/base/cli-appdata.js +289 -290
  1328. package/lib/base/cli-control.js +44 -44
  1329. package/lib/base/common-tools.js +29 -29
  1330. package/lib/base/error-handler.js +265 -265
  1331. package/lib/base/file-watcher.js +155 -155
  1332. package/lib/base/help-format.js +147 -147
  1333. package/lib/base/luna.js +178 -178
  1334. package/lib/base/novacom.js +1214 -1202
  1335. package/lib/base/sdkenv.js +59 -59
  1336. package/lib/base/server.js +137 -137
  1337. package/lib/base/setup-device.js +356 -335
  1338. package/lib/base/version-tools.js +79 -79
  1339. package/lib/com.sdk.ares.signage.hostedapp.ipk +0 -0
  1340. package/lib/device.js +1419 -1419
  1341. package/lib/generator.js +408 -377
  1342. package/lib/inspect.js +493 -493
  1343. package/lib/install.js +465 -463
  1344. package/lib/launch.js +607 -605
  1345. package/lib/log.js +584 -584
  1346. package/lib/package.js +2253 -2149
  1347. package/lib/pull.js +231 -231
  1348. package/lib/pusher.js +210 -210
  1349. package/lib/session.js +74 -74
  1350. package/lib/shell.js +193 -193
  1351. package/lib/tar-filter-pack.js +62 -62
  1352. package/lib/util/copy.js +31 -31
  1353. package/lib/util/createFileName.js +40 -40
  1354. package/lib/util/eof.js +30 -30
  1355. package/lib/util/json.js +63 -63
  1356. package/lib/util/merge.js +14 -14
  1357. package/lib/util/objclone.js +40 -40
  1358. package/lib/util/spinner.js +37 -37
  1359. package/npm-shrinkwrap.json +9242 -9242
  1360. package/package.json +100 -100
  1361. package/sbom-info.yaml +1758 -0
  1362. package/scripts/postinstall.js +24 -24
  1363. package/spec/helpers/reporter.js +65 -65
  1364. package/spec/jsSpecs/apiTest/generator.spec.js +372 -372
  1365. package/spec/jsSpecs/apiTest/inspector.spec.js +89 -89
  1366. package/spec/jsSpecs/apiTest/installer.spec.js +67 -67
  1367. package/spec/jsSpecs/apiTest/launcher.spec.js +150 -150
  1368. package/spec/jsSpecs/apiTest/packager.spec.js +194 -194
  1369. package/spec/jsSpecs/apiTest/puller.spec.js +101 -101
  1370. package/spec/jsSpecs/apiTest/pusher.spec.js +103 -103
  1371. package/spec/jsSpecs/apiTest/server.spec.js +115 -115
  1372. package/spec/jsSpecs/apiTest/setupDevice.spec.js +93 -93
  1373. package/spec/jsSpecs/apiTest/shell.spec.js +49 -49
  1374. package/spec/jsSpecs/ares-config.spec.js +88 -88
  1375. package/spec/jsSpecs/ares-device.spec.js +443 -443
  1376. package/spec/jsSpecs/ares-generate.spec.js +401 -397
  1377. package/spec/jsSpecs/ares-inspect.spec.js +252 -252
  1378. package/spec/jsSpecs/ares-install.spec.js +150 -150
  1379. package/spec/jsSpecs/ares-launch.spec.js +303 -301
  1380. package/spec/jsSpecs/ares-log.spec.js +824 -824
  1381. package/spec/jsSpecs/ares-novacom.spec.js +149 -149
  1382. package/spec/jsSpecs/ares-package.spec.js +1277 -1211
  1383. package/spec/jsSpecs/ares-pull.spec.js +157 -157
  1384. package/spec/jsSpecs/ares-push.spec.js +146 -146
  1385. package/spec/jsSpecs/ares-server.spec.js +160 -160
  1386. package/spec/jsSpecs/ares-setup-device.spec.js +299 -300
  1387. package/spec/jsSpecs/ares-shell.spec.js +220 -220
  1388. package/spec/jsSpecs/ares.spec.js +83 -83
  1389. package/spec/jsSpecs/common-spec.js +177 -169
  1390. package/spec/support/jasmine.json +22 -22
  1391. package/spec/tempFiles/com.lg.app.signage.dev_0.0.1_all.ipk +0 -0
  1392. package/spec/tempFiles/nativeApp/auto/pkg_arm64/appinfo.json +9 -9
  1393. package/spec/tempFiles/nativeApp/ose/pkg_arm/appinfo.json +8 -8
  1394. package/spec/tempFiles/nativeApp/ose/pkg_arm/package.properties +2 -2
  1395. package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/appinfo.json +9 -9
  1396. package/spec/tempFiles/nativeApp/rsi/pkg_x86/appinfo.json +9 -9
  1397. package/spec/tempFiles/sign/sign.crt +32 -32
  1398. package/spec/tempFiles/sign/signPriv.key +52 -52
  1399. package/spec/test_data/ares-generate.json +91 -58
  1400. package/spec/test_data/ares.json +50 -50
  1401. package/webos-tools-cli-3.2.0.tgz +0 -0
  1402. package/webos-tools-cli-3.1.2.tgz +0 -0
@@ -0,0 +1 @@
1
+ Power=(function(){var h,e;function b(j){}if(typeof window==="object"){cordova.define("cordova/plugin/power",function(k,j,l){h=function(){};if(window.PalmSystem){b("Window.PalmSystem Available");e=k("cordova/plugin/webos/service")}else{e={Request:function(m,n){b(m+" invoked. But I am a dummy because PalmSystem is not available");if(typeof n.onFailure==="function"){n.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}l.exports=h});h=cordova.require("cordova/plugin/power")}else{h=function(j){e=j;e.Request=function(k,m){var l=k+"/"+m.method;var n={};if(m.hasOwnProperty("parameters")===true){n=m.parameters}var o={};var p=function(q){console.log("res : "+JSON.stringify(q));if(q.payload.returnValue===true){o=q.payload;m.onSuccess(o)}else{o.returnValue=false;o.errorCode=q.payload.errorCode;o.errorText=q.payload.errorText;m.onFailure(o)}};if(e){e.call(l,n,p)}}};module.exports=h}function g(k,l,j){if(k.errorCode===undefined||k.errorCode===null){k.errorCode=l}if(k.errorText===undefined||k.errorText===null){k.errorText=j}}function c(k,j){if(k===j){return true}if(k==null||j==null){return false}if(k.length!=j.length){return false}k.sort();j.sort();for(var l=0;l<k.length;l++){if(k[l]!==j[l]){return false}}return true}var f=null;var a={};function i(j){if(f===null){e.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion","boardType"]},onSuccess:function(k){b("getPlatformInfo: onSuccess");b("version : "+k.sdkVersion);var l=k.sdkVersion.split(".");if(l.length>=1&&l[0]==="1"){a={webOSVer:1,chipset:k.boardType.split("_")[0]}}else{if(l.length>=1&&l[0]==="2"){a={webOSVer:2,chipset:k.boardType.split("_")[0]}}else{if(l.length>=1&&l[0]==="3"){a={webOSVer:3,chipset:k.boardType.split("_")[0]}}else{if(l.length>=1&&l[0]==="4"){a={webOSVer:4,chipset:k.boardType.split("_")[0]}}else{a={webOSVer:0,chipset:""}}}}}f=a.webOSVer;delete k.returnValue;j(a)},onFailure:function(k){b("getPlatformInfo: onFailure");delete k.returnValue;a={webOSVer:0,chipset:""};j(a)}})}else{j(a)}}function d(j){if(a.chipset=="H15"){switch(j){case"ext://hdmi:1":return"HDMI1";case"ext://hdmi:2":return"HDMI2";case"ext://hdmi:3":return"OPS/HDMI3/DVI";case"ext://dvi:1":return"OPS/HDMI3/DVI";case"ext://dp:1":return"DISPLAYPORT";case"ext://rgb:1":return"RGB";case"ext://ops:1":return"OPS/HDMI3/DVI";case"HDMI1":return"ext://hdmi:1";case"HDMI2":return"ext://hdmi:2";case"HDMI3":return"ext://hdmi:3";case"DVI":return"ext://dvi:1";case"DISPLAYPORT":return"ext://dp:1";case"RGB":return"ext://rgb:1";case"OPS":return"ext://ops:1";case"OPS/HDMI3/DVI":return"ext://hdmi:3"}}else{switch(j){case"ext://hdmi:1":return"HDMI1";case"ext://hdmi:2":return"HDMI2";case"ext://hdmi:3":return"HDMI3";case"ext://dvi:1":return"DVI";case"ext://dp:1":return"DISPLAYPORT";case"ext://rgb:1":return"RGB";case"ext://ops:1":return"OPS";case"HDMI1":return"ext://hdmi:1";case"HDMI":return"ext://hdmi:1";case"HDMI2":return"ext://hdmi:2";case"HDMI3":return"ext://hdmi:3";case"DVI":return"ext://dvi:1";case"DISPLAYPORT":return"ext://dp:1";case"RGB":return"ext://rgb:1";case"OPS":return"ext://ops:1";case"OPS/HDMI3/DVI":return"ext://hdmi:3"}}return null}h.PowerCommand={SHUTDOWN:"powerOff",REBOOT:"reboot"};h.DisplayMode={DISPLAY_OFF:"Screen Off",DISPLAY_ON:"Active"};h.TimerWeek={MONDAY:1,TUESDAY:2,WEDNESDAY:4,THURSDAY:8,FRIDAY:16,SATURDAY:32,SUNDAY:64,EVERYDAY:127};h.DPMSignalType={CLOCK:"clock",CLOCK_WITH_DATA:"clockAndData"};h.PMMode={PowerOff:"powerOff",SustainAspectRatio:"sustainAspectRatio",ScreenOff:"screenOff",ScreenOffAlways:"screenOffAlways",ScreenOffBacklight:"screenOffBacklight"};h.prototype.getPowerStatus=function(j,k){b("getPowerStatus: ");e.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(l){b("getPowerStatus: On Success");var m={};if(l.returnValue===true){m.displayMode=l.state}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["wolEnable"]},onSuccess:function(n){b("getPowerStatus: On Success 2");if(n.returnValue===true){m.wakeOnLan=(n.settings.wolEnable==="1"?true:false)}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"time",keys:["onTimerEnable","offTimerEnable"]},onSuccess:function(o){b("getPowerStatus: On Success 3");if(o.returnValue===true){m.allOnTimer=(o.settings.onTimerEnable==="on"?true:false);m.allOffTimer=(o.settings.offTimerEnable==="on"?true:false);if(typeof j==="function"){j(m)}}},onFailure:function(o){b("getPowerStatus: On Failure 3");delete o.returnValue;if(typeof k==="function"){g(o,"PGPS","Power.getPowerStatus returns failure.");k(o)}}})},onFailure:function(n){b("getPowerStatus: On Failure 2");delete n.returnValue;if(typeof k==="function"){g(n,"PGPS","Power.getPowerStatus returns failure.");k(n)}}})},onFailure:function(l){b("getPowerStatus: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"PGPS","Power.getPowerStatus returns failure.");k(l)}}});b("Power.getPowerStatus Done")};h.prototype.enableAllOnTimer=function(k,l,m){b("enableAllOnTimer: "+JSON.stringify(m));var n=null;switch(m.allOnTimer){case true:n="on";break;case false:n="off";break;default:if(typeof l==="function"){var j={};g(j,"PEAOT","Power.enableAllOnTimer returns failure. Invalid option value.");l(j)}return}i(function(o){if(o.webOSVer===4||o.webOSVer>4){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"time",settings:{onTimerEnable:n}},onSuccess:function(){if(m.clearOnTimer===true){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(p){if(p.returnValue===true){var s=0;var q={};q.onTime=[];q.offTime=[];var r={};var t=(p.settings.onOffTimeSchedule.offTime===null||p.settings.onOffTimeSchedule.offTime===undefined?0:p.settings.onOffTimeSchedule.offTime.length);for(s=0;s<t;s++){if(p.settings.onOffTimeSchedule.offTime[s].day!==undefined&&p.settings.onOffTimeSchedule.offTime[s].day!==null){r.day=p.settings.onOffTimeSchedule.offTime[s].day}if(p.settings.onOffTimeSchedule.offTime[s].hour!==undefined&&p.settings.onOffTimeSchedule.offTime[s].hour!==null){r.hour=p.settings.onOffTimeSchedule.offTime[s].hour}if(p.settings.onOffTimeSchedule.offTime[s].minute!==undefined&&p.settings.onOffTimeSchedule.offTime[s].minute!==null){r.minute=p.settings.onOffTimeSchedule.offTime[s].minute}q.offTime.push(r);r={}}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:q}},onSuccess:function(){b("enableAllOnTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(u){b("enableAllOnTimer: On Failure 2");delete u.returnValue;if(typeof l==="function"){g(u,"PAOT","Power.enableAllOnTimer returns failure.");l(u)}return}})}else{if(typeof k==="function"){b("enableAllOnTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOnTimer: On Failure");g(p,"PEAOT","Power.enableAllOnTimer returns failure.");l(p)}}})}else{if(typeof k==="function"){b("enableAllOnTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOnTimer: On Failure");g(p,"PEAOT","Power.enableAllOnTimer returns failure.");l(p)}}})}else{e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"time",settings:{onTimerEnable:n}},onSuccess:function(){if(m.clearOnTimer===true){var s=0;var p=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],q=["0","0","0","0","0","0","0"],t=["0","0","0","0","0","0","0"],u=[];e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOnTimerHour:p,multiOnTimerMinute:r,multiOnTimerWeekday:q,multiOnTimerSource:t,onTimerCount:s,onTimerSchedule:u}},onSuccess:function(){b("enableAllOnTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(v){b("enableAllOnTimer: On Failure 2");delete v.returnValue;if(typeof l==="function"){g(v,"PEAOT","Power.enableAllOnTimer returns failure. / clearOnTimer");l(v)}}})}else{if(typeof k==="function"){b("enableAllOnTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOnTimer: On Failure");g(p,"PEAOT","Power.enableAllOnTimer returns failure.");l(p)}}})}});b("Power.enableAllOnTimer Done")};h.prototype.enableAllOffTimer=function(k,l,m){b("enableAllOffTimer: "+JSON.stringify(m));var n=null;switch(m.allOffTimer){case true:n="on";break;case false:n="off";break;default:if(typeof l==="function"){var j={};g(j,"PEAOT","Power.enableAllOffTimer returns failure. Invalid option value.");l(j)}return}i(function(o){if(o.webOSVer===4||o.webOSVer>4){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"time",settings:{offTimerEnable:n}},onSuccess:function(){if(m.clearOffTimer===true){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(p){if(p.returnValue===true){var s=0;var q={};q.onTime=[];q.offTime=[];var r={};var t=(p.settings.onOffTimeSchedule.onTime===null||p.settings.onOffTimeSchedule.onTime===undefined?0:p.settings.onOffTimeSchedule.onTime.length);for(s=0;s<t;s++){if(p.settings.onOffTimeSchedule.onTime[s].day!==undefined&&p.settings.onOffTimeSchedule.onTime[s].day!==null){r.day=p.settings.onOffTimeSchedule.onTime[s].day}if(p.settings.onOffTimeSchedule.onTime[s].hour!==undefined&&p.settings.onOffTimeSchedule.onTime[s].hour!==null){r.hour=p.settings.onOffTimeSchedule.onTime[s].hour}if(p.settings.onOffTimeSchedule.onTime[s].minute!==undefined&&p.settings.onOffTimeSchedule.onTime[s].minute!==null){r.minute=p.settings.onOffTimeSchedule.onTime[s].minute}q.onTime.push(r);r={}}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:q}},onSuccess:function(){b("enableAllOffTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(u){b("enableAllOffTimer: On Failure 2");delete u.returnValue;if(typeof l==="function"){g(u,"PAOT","Power.enableAllOffTimer returns failure.");l(u)}return}})}else{if(typeof k==="function"){b("enableAllOffTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOffTimer: On Failure");g(p,"PEAOT","Power.enableAllOffTimer returns failure.");l(p)}}})}else{if(typeof k==="function"){b("enableAllOffTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOffTimer: On Failure");g(p,"PEAOT","Power.enableAllOffTimer returns failure.");l(p)}}})}else{e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"time",settings:{offTimerEnable:n}},onSuccess:function(){if(m.clearOffTimer===true){var s=0;var p=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],q=["0","0","0","0","0","0","0"],t=[];e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOffTimerHour:p,multiOffTimerMinute:r,multiOffTimerWeekday:q,offTimerCount:s,offTimerSchedule:t}},onSuccess:function(){b("enableAllOffTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(u){b("enableAllOffTimer: On Failure 2");delete u.returnValue;if(typeof l==="function"){g(u,"PEAOT","Power.enableAllOffTimer returns failure. / clearOffTimer");l(u)}}})}else{if(typeof k==="function"){b("enableAllOffTimer: On Success");k()}}},onFailure:function(p){delete p.returnValue;if(typeof l==="function"){b("enableAllOffTimer: On Failure");g(p,"PEAOT","Power.enableAllOffTimer returns failure.");l(p)}}})}});b("Power.enableAllOffTimer Done")};h.prototype.enableWakeOnLan=function(k,l,m){b("enableWakeOnLan: "+JSON.stringify(m));var n=null;switch(m.wakeOnLan){case true:n="1";break;case false:n="0";break;default:if(typeof l==="function"){var j={};g(j,"PSWOL","Power.enableWakeOnLan returns failure. Invalid option value.");l(j)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{wolEnable:n}},onSuccess:function(){if(typeof k==="function"){b("enableWakeOnLan: On Success");k()}},onFailure:function(o){delete o.returnValue;if(typeof l==="function"){b("enableWakeOnLan: On Failure");g(o,"PSWOL","Power.enableWakeOnLan returns failure.");l(o)}}});b("Power.enableWakeOnLan Done")};h.prototype.addOnTimer=function(j,k,l){b("addOnTimer: "+JSON.stringify(l));i(function(n){if(n.webOSVer===4||n.webOSVer>4){if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<=0||l.week>127){if(typeof k==="function"){var m={};g(m,"PAOT","Power.addOnTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(o){if(o.returnValue===true){var t=0;var q={};q.onTime=[];q.offTime=[];var v=[];var s={};var p=1;while(l.week!==0){if(l.week&1){console.log("AddonTimer - options.week - "+l.week);switch(p){case 1:v.push("mon");break;case 2:v.push("tue");break;case 4:v.push("wed");break;case 8:v.push("thu");break;case 16:v.push("fri");break;case 32:v.push("sat");break;case 64:v.push("sun");break}}l.week=l.week>>>1;p=p<<1;if(l.week===0){break}}s.day=v;s.hour=l.hour;s.minute=l.minute;q.onTime.push(s);s={};var r=(o.settings.onOffTimeSchedule.onTime===null||o.settings.onOffTimeSchedule.onTime===undefined?0:o.settings.onOffTimeSchedule.onTime.length);for(t=0;t<r;t++){if(o.settings.onOffTimeSchedule.onTime[t].day!==undefined&&o.settings.onOffTimeSchedule.onTime[t].day!==null){s.day=o.settings.onOffTimeSchedule.onTime[t].day}if(o.settings.onOffTimeSchedule.onTime[t].hour!==undefined&&o.settings.onOffTimeSchedule.onTime[t].hour!==null){s.hour=o.settings.onOffTimeSchedule.onTime[t].hour}if(o.settings.onOffTimeSchedule.onTime[t].minute!==undefined&&o.settings.onOffTimeSchedule.onTime[t].minute!==null){s.minute=o.settings.onOffTimeSchedule.onTime[t].minute}q.onTime.push(s);s={}}var u=(o.settings.onOffTimeSchedule.offTime===null||o.settings.onOffTimeSchedule.offTime===undefined?0:o.settings.onOffTimeSchedule.offTime.length);for(t=0;t<u;t++){if(o.settings.onOffTimeSchedule.offTime[t].day!==undefined&&o.settings.onOffTimeSchedule.offTime[t].day!==null){s.day=o.settings.onOffTimeSchedule.offTime[t].day}if(o.settings.onOffTimeSchedule.offTime[t].hour!==undefined&&o.settings.onOffTimeSchedule.offTime[t].hour!==null){s.hour=o.settings.onOffTimeSchedule.offTime[t].hour}if(o.settings.onOffTimeSchedule.offTime[t].minute!==undefined&&o.settings.onOffTimeSchedule.offTime[t].minute!==null){s.minute=o.settings.onOffTimeSchedule.offTime[t].minute}q.offTime.push(s);s={}}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:q}},onSuccess:function(){b("addOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(w){b("addOnTimer: On Failure 2");delete w.returnValue;if(typeof k==="function"){g(w,"PAOT","Power.addOnTimer returns failure.");k(w)}return}})}},onFailure:function(o){b("addOnTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PAOT","Power.addOnTimer returns failure.");k(o)}return}})}else{if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var m={};g(m,"PAOT","Power.addOnTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(o){b("getInputSourceStatus: On Success");if(o.returnValue===true){var t=false;for(var s=0;s<o.totalCount;s++){var r=o.devices[s].deviceName.toLowerCase();var u=r;var p=l.inputSource.substring(6).split(":");var q="1";if(isNaN(r.substring(r.length-1,r.length))===false){r=r.substring(0,r.length-1);q=o.devices[s].id.split("_")[1]}if(r.toUpperCase()==="DISPLAYPORT"){r="DP"}if(r.toUpperCase().indexOf(p[0].toUpperCase())>=0&&q===p[1]){t=true;break}}if(t===false){b("addOnTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PAOT","Power.addOnTimer returns failure.");k(o)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(v){if(v.returnValue===true){b("version : "+n.webOSVer);if(typeof v.settings.multiOnTimerHour==="string"){v.settings.multiOnTimerHour=JSON.parse(v.settings.multiOnTimerHour)}if(typeof v.settings.multiOnTimerMinute==="string"){v.settings.multiOnTimerMinute=JSON.parse(v.settings.multiOnTimerMinute)}if(typeof v.settings.multiOnTimerWeekday==="string"){v.settings.multiOnTimerWeekday=JSON.parse(v.settings.multiOnTimerWeekday)}if(typeof v.settings.multiOnTimerSource==="string"){v.settings.multiOnTimerSource=JSON.parse(v.settings.multiOnTimerSource)}if(typeof v.settings.onTimerSchedule==="string"){v.settings.onTimerSchedule=JSON.parse(v.settings.onTimerSchedule)}var x=(v.settings.onTimerSchedule===null||v.settings.onTimerSchedule===undefined?0:v.settings.onTimerSchedule.length);if(v.settings.multiOnTimerHour.length<=x){if(typeof k==="function"){g(v,"PSOT","Power.addOnTimer returns failure. No space to add timer.");k(v)}return}if(n.webOSVer===3){if(l.week>=64){l.week=1+(l.week-64)*2}else{l.week=l.week*2}}v.settings.multiOnTimerHour[x]=l.hour;v.settings.multiOnTimerMinute[x]=l.minute;v.settings.multiOnTimerWeekday[x]=l.week;v.settings.multiOnTimerSource[x]=u.toUpperCase();var w=360;v.settings.onTimerSchedule[x]={_id:""+w++,hour:l.hour,input:u.toUpperCase(),minute:l.minute,weekday:l.week};e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOnTimerHour:v.settings.multiOnTimerHour,multiOnTimerMinute:v.settings.multiOnTimerMinute,multiOnTimerWeekday:v.settings.multiOnTimerWeekday,multiOnTimerSource:v.settings.multiOnTimerSource,onTimerCount:x+1,onTimerSchedule:v.settings.onTimerSchedule}},onSuccess:function(){b("addOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(y){b("addOnTimer: On Failure 2");delete y.returnValue;if(typeof k==="function"){g(y,"PAOT","Power.addOnTimer returns failure.");k(y)}return}})}},onFailure:function(v){b("addOnTimer: On Failure");delete v.returnValue;if(typeof k==="function"){g(v,"PAOT","Power.addOnTimer returns failure.");k(v)}return}})}},onFailure:function(o){b("getInputSourceStatus: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PAOT","Power.addOnTimer returns failure on gathering input list.");k(o)}return}})}});b("Power.addOnTimer Done")};h.prototype.deleteOnTimer=function(j,k,l){b("deleteOnTimer: "+JSON.stringify(l));i(function(n){if(n.webOSVer===4||n.webOSVer>4){if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var m={};g(m,"PAOT","Power.deleteOnTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(x){if(x.returnValue===true){var r=0;var s={};s.onTime=[];s.offTime=[];var w=[];var q={};var v={};var o=1;while(l.week!==0){if(l.week&1){switch(o){case 1:w.push("mon");break;case 2:w.push("tue");break;case 4:w.push("wed");break;case 8:w.push("thu");break;case 16:w.push("fri");break;case 32:w.push("sat");break;case 64:w.push("sun");break}}l.week=l.week>>>1;o=o<<1;if(l.week===0){break}}o=0;q.day=w;q.hour=l.hour;q.minute=l.minute;var t=(x.settings.onOffTimeSchedule.onTime===null||x.settings.onOffTimeSchedule.onTime===undefined?0:x.settings.onOffTimeSchedule.onTime.length);var p=false;for(r=0;r<t;r++){if(x.settings.onOffTimeSchedule.onTime[r].day!==undefined&&x.settings.onOffTimeSchedule.onTime[r].day!==null){if(c(x.settings.onOffTimeSchedule.onTime[r].day,q.day)){o++}else{v.day=x.settings.onOffTimeSchedule.onTime[r].day}}if(x.settings.onOffTimeSchedule.onTime[r].hour!==undefined&&x.settings.onOffTimeSchedule.onTime[r].hour!==null){if(x.settings.onOffTimeSchedule.onTime[r].hour===q.hour){o++}else{v.hour=x.settings.onOffTimeSchedule.onTime[r].hour}}if(x.settings.onOffTimeSchedule.onTime[r].minute!==undefined&&x.settings.onOffTimeSchedule.onTime[r].minute!==null){if(x.settings.onOffTimeSchedule.onTime[r].minute===q.minute){o++}else{v.minute=x.settings.onOffTimeSchedule.onTime[r].minute}}if(o!==3){s.onTime.push(v)}else{p=true}o=0;v={}}var u=(x.settings.onOffTimeSchedule.offTime===null||x.settings.onOffTimeSchedule.offTime===undefined?0:x.settings.onOffTimeSchedule.offTime.length);for(r=0;r<u;r++){if(x.settings.onOffTimeSchedule.offTime[r].day!==undefined&&x.settings.onOffTimeSchedule.offTime[r].day!==null){v.day=x.settings.onOffTimeSchedule.offTime[r].day}if(x.settings.onOffTimeSchedule.offTime[r].hour!==undefined&&x.settings.onOffTimeSchedule.offTime[r].hour!==null){v.hour=x.settings.onOffTimeSchedule.offTime[r].hour}if(x.settings.onOffTimeSchedule.offTime[r].minute!==undefined&&x.settings.onOffTimeSchedule.offTime[r].minute!==null){v.minute=x.settings.onOffTimeSchedule.offTime[r].minute}s.offTime.push(v);v={}}if(p){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:s}},onSuccess:function(){b("deleteOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(y){b("deleteOnTimer: On Failure 2");delete y.returnValue;if(typeof k==="function"){g(y,"PAOT","Power.deleteOnTimer returns failure.");k(y)}return}})}else{var x={};g(x,"PAOT","Power.deleteOnTimer returns failure. / No matched found");k(x)}}},onFailure:function(o){b("deleteOnTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PAOT","Power.deleteOnTimer returns failure.");k(o)}return}})}else{if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<0||l.week>127||l.inputSource===undefined||typeof l.inputSource!=="string"||l.inputSource.indexOf("ext://")!==0){if(typeof k==="function"){var m={};g(m,"PDOT","Power.deleteOnTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOnTimerHour","multiOnTimerMinute","multiOnTimerWeekday","multiOnTimerSource","onTimerSchedule","onTimerCount"]},onSuccess:function(o){if(o.returnValue===true){i(function(p){e.Request("luna://com.webos.service.eim/",{method:"getAllInputStatus",onSuccess:function(t){b("getInputSourceStatus: On Success");if(o.returnValue===true){b("version : "+p.webOSVer);if(typeof o.settings.multiOnTimerHour==="string"){o.settings.multiOnTimerHour=JSON.parse(o.settings.multiOnTimerHour)}if(typeof o.settings.multiOnTimerMinute==="string"){o.settings.multiOnTimerMinute=JSON.parse(o.settings.multiOnTimerMinute)}if(typeof o.settings.multiOnTimerWeekday==="string"){o.settings.multiOnTimerWeekday=JSON.parse(o.settings.multiOnTimerWeekday)}if(typeof o.settings.multiOnTimerSource==="string"){o.settings.multiOnTimerSource=JSON.parse(o.settings.multiOnTimerSource)}if(typeof o.settings.onTimerSchedule==="string"){o.settings.onTimerSchedule=JSON.parse(o.settings.onTimerSchedule)}var E=0,C=(o.settings.onTimerSchedule===null||o.settings.onTimerSchedule===undefined?0:o.settings.onTimerSchedule.length);var x=["0","0","0","0","0","0","0"],y=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],q=["0","0","0","0","0","0","0"],B=[];var w=d(l.inputSource);for(var A=0;A<t.totalCount;A++){var D=t.devices[A].deviceName;var v=D;var z=l.inputSource.substring(6).split(":");var u="1";if(isNaN(D.substring(D.length-1,D.length))===false){D=D.substring(0,D.length-1);u=t.devices[A].id.split("_")[1]}if(D.toUpperCase()==="DISPLAYPORT"){D="DP"}if(D.toUpperCase().indexOf(z[0].toUpperCase())>=0&&u===z[1]){w=v;break}}var s=false;if(p.webOSVer===3){if(l.week>=64){l.week=1+(l.week-64)*2}else{l.week=l.week*2}}for(var A=0;A<C;A++){b("deleteOnTimer: "+w);if(o.settings.onTimerSchedule[A]===null){continue}b("options.week : "+l.week+" result.settings.onTimerSchedule["+A+"].weekday : "+o.settings.onTimerSchedule[A].weekday);if(s===false&&l.hour===o.settings.onTimerSchedule[A].hour&&l.minute===o.settings.onTimerSchedule[A].minute&&l.week==o.settings.onTimerSchedule[A].weekday&&o.settings.onTimerSchedule[A].input.toUpperCase()===w.toUpperCase()){b("deleteOnTimer: index "+A);s=true}else{x[E]=o.settings.multiOnTimerHour[A];y[E]=o.settings.multiOnTimerMinute[A];r[E]=o.settings.multiOnTimerWeekday[A];q[E]=o.settings.multiOnTimerSource[A];B[E]=o.settings.onTimerSchedule[A];E++}}if(s===true){C--}if(C===0){B=[]}if(o.settings.onTimerSchedule.length===C){if(typeof k==="function"){g(o,"PDOT","Power.deleteOnTimer returns failure. There is no 'on timer' matched in the list.");k(o)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOnTimerHour:x,multiOnTimerMinute:y,multiOnTimerWeekday:r,multiOnTimerSource:q,onTimerCount:C,onTimerSchedule:B}},onSuccess:function(){b("deleteOnTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(F){b("deleteOnTimer: On Failure 2");delete F.returnValue;if(typeof k==="function"){g(F,"PDOT","Power.deleteOnTimer returns failure.");k(F)}}})}},onFailure:function(q){b("getInputSourceStatus: On Failure");delete q.returnValue;if(typeof k==="function"){g(q,"PDOT","Power.deleteOnTimer returns failure");k(q)}return}})})}},onFailure:function(o){b("deleteOnTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PDOT","Power.deleteOnTimer returns failure.");k(o)}}})}});b("Power.deleteOnTimer Done")};h.prototype.addOffTimer=function(k,l,m){b("addOffTimer: "+JSON.stringify(m));if(m.hour===undefined||isNaN(m.hour)||typeof m.hour!=="number"||m.hour<0||m.hour>23||m.minute===undefined||isNaN(m.minute)||typeof m.minute!=="number"||m.minute<0||m.minute>59||m.week===undefined||isNaN(m.week)||typeof m.week!=="number"||m.week<=0||m.week>127){if(typeof l==="function"){var j={};g(j,"PAOT","Power.addOffTimer returns failure. Invalid parameter.");l(j)}return}i(function(n){if(n.webOSVer===4||n.webOSVer>4){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(o){if(o.returnValue===true){var t=0;var q={};q.onTime=[];q.offTime=[];var v=[];var s={};var p=1;while(m.week!==0){if(m.week&1){switch(p){case 1:v.push("mon");break;case 2:v.push("tue");break;case 4:v.push("wed");break;case 8:v.push("thu");break;case 16:v.push("fri");break;case 32:v.push("sat");break;case 64:v.push("sun");break}}m.week=m.week>>>1;p=p<<1;if(m.week===0){break}}s.day=v;s.hour=m.hour;s.minute=m.minute;q.offTime.push(s);s={};var r=(o.settings.onOffTimeSchedule.onTime===null||o.settings.onOffTimeSchedule.onTime===undefined?0:o.settings.onOffTimeSchedule.onTime.length);for(t=0;t<r;t++){if(o.settings.onOffTimeSchedule.onTime[t].day!==undefined&&o.settings.onOffTimeSchedule.onTime[t].day!==null){s.day=o.settings.onOffTimeSchedule.onTime[t].day}if(o.settings.onOffTimeSchedule.onTime[t].hour!==undefined&&o.settings.onOffTimeSchedule.onTime[t].hour!==null){s.hour=o.settings.onOffTimeSchedule.onTime[t].hour}if(o.settings.onOffTimeSchedule.onTime[t].minute!==undefined&&o.settings.onOffTimeSchedule.onTime[t].minute!==null){s.minute=o.settings.onOffTimeSchedule.onTime[t].minute}q.onTime.push(s);s={}}var u=(o.settings.onOffTimeSchedule.offTime===null||o.settings.onOffTimeSchedule.offTime===undefined?0:o.settings.onOffTimeSchedule.offTime.length);for(t=0;t<u;t++){if(o.settings.onOffTimeSchedule.offTime[t].day!==undefined&&o.settings.onOffTimeSchedule.offTime[t].day!==null){s.day=o.settings.onOffTimeSchedule.offTime[t].day}if(o.settings.onOffTimeSchedule.offTime[t].hour!==undefined&&o.settings.onOffTimeSchedule.offTime[t].hour!==null){s.hour=o.settings.onOffTimeSchedule.offTime[t].hour}if(o.settings.onOffTimeSchedule.offTime[t].minute!==undefined&&o.settings.onOffTimeSchedule.offTime[t].minute!==null){s.minute=o.settings.onOffTimeSchedule.offTime[t].minute}q.offTime.push(s);s={}}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:q}},onSuccess:function(){b("addOffTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(w){b("addOffTimer: On Failure 2");delete w.returnValue;if(typeof l==="function"){g(w,"PAOT","Power.addOffTimer returns failure.");l(w)}return}})}},onFailure:function(o){b("addOffTimer: On Failure");delete o.returnValue;if(typeof l==="function"){g(o,"PAOT","Power.addOffTimer returns failure.");l(o)}return}})}else{e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(o){if(o.returnValue===true){if(typeof o.settings.multiOffTimerHour==="string"){o.settings.multiOffTimerHour=JSON.parse(o.settings.multiOffTimerHour)}if(typeof o.settings.multiOffTimerMinute==="string"){o.settings.multiOffTimerMinute=JSON.parse(o.settings.multiOffTimerMinute)}if(typeof o.settings.multiOffTimerWeekday==="string"){o.settings.multiOffTimerWeekday=JSON.parse(o.settings.multiOffTimerWeekday)}if(typeof o.settings.offTimerSchedule==="string"){o.settings.offTimerSchedule=JSON.parse(o.settings.offTimerSchedule)}var p=(o.settings.offTimerSchedule===null||o.settings.offTimerSchedule===undefined?0:o.settings.offTimerSchedule.length);if(o.settings.multiOffTimerHour.length<=p){if(typeof l==="function"){g(o,"PAOT","Power.addOffTimer returns failure. No space to add timer.");l(o)}return}i(function(r){b("version : "+r.webOSVer);if(r.webOSVer===3){if(m.week>=64){m.week=1+(m.week-64)*2}else{m.week=m.week*2}}o.settings.multiOffTimerHour[p]=m.hour;o.settings.multiOffTimerMinute[p]=m.minute;o.settings.multiOffTimerWeekday[p]=m.week;b("add hour: "+m.hour+", min : "+m.minute+", week : "+m.week);var q=360;o.settings.offTimerSchedule[p]={_id:""+q++,hour:m.hour,minute:m.minute,weekday:m.week};e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOffTimerHour:o.settings.multiOffTimerHour,multiOffTimerMinute:o.settings.multiOffTimerMinute,multiOffTimerWeekday:o.settings.multiOffTimerWeekday,offTimerCount:p+1,offTimerSchedule:o.settings.offTimerSchedule}},onSuccess:function(){b("addOffTimer: On Success 2");if(typeof k==="function"){k()}},onFailure:function(s){b("addOffTimer: On Failure 2");delete s.returnValue;if(typeof l==="function"){g(s,"PAOT","Power.addOffTimer returns failure.");l(s)}}})})}},onFailure:function(o){b("addOffTimer: On Failure");delete o.returnValue;if(typeof l==="function"){g(o,"PAOT","Power.addOffTimer returns failure.");l(o)}}})}});b("Power.addOffTimer Done")};h.prototype.deleteOffTimer=function(j,k,l){b("deleteOffTimer: "+JSON.stringify(l));i(function(n){if(n.webOSVer===4||n.webOSVer>4){if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var m={};g(m,"PAOT","Power.deleteOffTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(x){if(x.returnValue===true){var r=0;var s={};s.onTime=[];s.offTime=[];var w=[];var q={};var v={};var o=1;while(l.week!==0){if(l.week&1){switch(o){case 1:w.push("mon");break;case 2:w.push("tue");break;case 4:w.push("wed");break;case 8:w.push("thu");break;case 16:w.push("fri");break;case 32:w.push("sat");break;case 64:w.push("sun");break}}l.week=l.week>>>1;o=o<<1;if(l.week===0){break}}o=0;q.day=w;q.hour=l.hour;q.minute=l.minute;var t=(x.settings.onOffTimeSchedule.onTime===null||x.settings.onOffTimeSchedule.onTime===undefined?0:x.settings.onOffTimeSchedule.onTime.length);var p=false;for(r=0;r<t;r++){if(x.settings.onOffTimeSchedule.onTime[r].day!==undefined&&x.settings.onOffTimeSchedule.onTime[r].day!==null){v.day=x.settings.onOffTimeSchedule.onTime[r].day}if(x.settings.onOffTimeSchedule.onTime[r].hour!==undefined&&x.settings.onOffTimeSchedule.onTime[r].hour!==null){v.hour=x.settings.onOffTimeSchedule.onTime[r].hour}if(x.settings.onOffTimeSchedule.onTime[r].minute!==undefined&&x.settings.onOffTimeSchedule.onTime[r].minute!==null){v.minute=x.settings.onOffTimeSchedule.onTime[r].minute}s.onTime.push(v);v={}}var u=(x.settings.onOffTimeSchedule.offTime===null||x.settings.onOffTimeSchedule.offTime===undefined?0:x.settings.onOffTimeSchedule.offTime.length);for(r=0;r<u;r++){if(x.settings.onOffTimeSchedule.offTime[r].day!==undefined&&x.settings.onOffTimeSchedule.offTime[r].day!==null){if(c(x.settings.onOffTimeSchedule.offTime[r].day,q.day)){o++}else{v.day=x.settings.onOffTimeSchedule.offTime[r].day}}if(x.settings.onOffTimeSchedule.offTime[r].hour!==undefined&&x.settings.onOffTimeSchedule.offTime[r].hour!==null){if(x.settings.onOffTimeSchedule.offTime[r].hour===q.hour){o++}else{v.hour=x.settings.onOffTimeSchedule.offTime[r].hour}}if(x.settings.onOffTimeSchedule.offTime[r].minute!==undefined&&x.settings.onOffTimeSchedule.offTime[r].minute!==null){if(x.settings.onOffTimeSchedule.offTime[r].minute===q.minute){o++}else{v.minute=x.settings.onOffTimeSchedule.offTime[r].minute}}if(o!==3){s.offTime.push(v)}else{p=true}o=0;v={}}if(p){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"set",parameters:{category:"commercial",settings:{onOffTimeSchedule:s}},onSuccess:function(){b("deleteOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(y){b("deleteOffTimer: On Failure 2");delete y.returnValue;if(typeof k==="function"){g(y,"PAOT","Power.deleteOffTimer returns failure.");k(y)}return}})}else{var x={};g(x,"PAOT","Power.deleteOffTimer returns failure. / No matched found.");k(x)}}},onFailure:function(o){b("deleteOffTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PAOT","Power.deleteOffTimer returns failure.");k(o)}return}})}else{if(l.hour===undefined||isNaN(l.hour)||typeof l.hour!=="number"||l.hour<0||l.hour>23||l.minute===undefined||isNaN(l.minute)||typeof l.minute!=="number"||l.minute<0||l.minute>59||l.week===undefined||isNaN(l.week)||typeof l.week!=="number"||l.week<0||l.week>127){if(typeof k==="function"){var m={};g(m,"PDOT","Power.deleteOffTimer returns failure. invalid parameters or out of range.");k(m)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["multiOffTimerHour","multiOffTimerMinute","multiOffTimerWeekday","offTimerSchedule","offTimerCount"]},onSuccess:function(w){if(w.returnValue===true){if(typeof w.settings.multiOffTimerHour==="string"){w.settings.multiOffTimerHour=JSON.parse(w.settings.multiOffTimerHour)}if(typeof w.settings.multiOffTimerMinute==="string"){w.settings.multiOffTimerMinute=JSON.parse(w.settings.multiOffTimerMinute)}if(typeof w.settings.multiOffTimerWeekday==="string"){w.settings.multiOffTimerWeekday=JSON.parse(w.settings.multiOffTimerWeekday)}if(typeof w.settings.offTimerSchedule==="string"){w.settings.offTimerSchedule=JSON.parse(w.settings.offTimerSchedule)}var v=0,u=(w.settings.offTimerSchedule===null||w.settings.offTimerSchedule===undefined?0:w.settings.offTimerSchedule.length);var q=["0","0","0","0","0","0","0"],r=["0","0","0","0","0","0","0"],o=["0","0","0","0","0","0","0"],t=[];var p=false;i(function(x){b("version : "+x.webOSVer);if(x.webOSVer===3){if(l.week>=64){l.week=1+(l.week-64)*2}else{l.week=l.week*2}}});for(var s=0;s<u;s++){if(w.settings.offTimerSchedule[s]===null){continue}b("options.week : "+l.week+" result.settings.offTimerSchedule["+s+"].weekday : "+w.settings.offTimerSchedule[s].weekday);if(p===false&&l.hour===w.settings.offTimerSchedule[s].hour&&l.minute===w.settings.offTimerSchedule[s].minute&&l.week===w.settings.offTimerSchedule[s].weekday){p=true}else{q[v]=w.settings.multiOffTimerHour[s];r[v]=w.settings.multiOffTimerMinute[s];o[v]=w.settings.multiOffTimerWeekday[s];t[v]=w.settings.offTimerSchedule[s];v++}}if(p===true){u--}if(u===0){t=[]}if(w.settings.offTimerSchedule.length===u){if(typeof k==="function"){g(w,"PDOT","Power.deleteOffTimer returns failure. There is no 'off timer' matched in the list.");k(w)}return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{multiOffTimerHour:q,multiOffTimerMinute:r,multiOffTimerWeekday:o,offTimerCount:u,offTimerSchedule:t}},onSuccess:function(){b("deleteOffTimer: On Success 2");if(typeof j==="function"){j()}},onFailure:function(x){b("deleteOffTimer: On Failure 2");delete x.returnValue;if(typeof k==="function"){g(x,"PDOT","Power.deleteOffTimer returns failure.");k(x)}}})}},onFailure:function(o){b("deleteOffTimer: On Failure");delete o.returnValue;if(typeof k==="function"){g(o,"PDOT","Power.deleteOffTimer returns failure.");k(o)}}})}});b("Power.deleteOffTimer Done")};h.prototype.getOnTimerList=function(j,k){b("getOnTimerList: ");i(function(l){if(l.webOSVer===4||l.webOSVer>4){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(m){if(m.returnValue===true){var s={};var t=new Array(m.settings.onOffTimeSchedule.onTime===null||m.settings.onOffTimeSchedule.onTime===undefined?0:m.settings.onOffTimeSchedule.onTime.length);for(var p=0,q=0;q<t.length;q++,p++){if(m.settings.onOffTimeSchedule.onTime[q]===null||m.settings.onOffTimeSchedule.onTime[q]===undefined){continue}t[p]={hour:0,minute:0,week:0};var r=m.settings.onOffTimeSchedule.onTime[q].day;var n=0;for(var o=0;o<r.length;o++){if(r[o]==="mon"){n+=1}if(r[o]==="tue"){n+=2}if(r[o]==="wed"){n+=4}if(r[o]==="thu"){n+=8}if(r[o]==="fri"){n+=16}if(r[o]==="sat"){n+=32}if(r[o]==="sun"){n+=64}}t[p].hour=m.settings.onOffTimeSchedule.onTime[q].hour;t[p].minute=m.settings.onOffTimeSchedule.onTime[q].minute;t[p].week=n}s.timerList=t;if(typeof j==="function"){j(s)}}},onFailure:function(m){b("getOnTimerList: On Failure");delete m.returnValue;if(typeof k==="function"){g(m,"PGOTL","Power.getOnTimerList returns failure.");k(m)}}})}else{e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["onTimerSchedule"]},onSuccess:function(m){if(m.returnValue===true){i(function(p){b("version : "+p.webOSVer);var q={};if(typeof m.settings.onTimerSchedule==="string"){m.settings.onTimerSchedule=JSON.parse(m.settings.onTimerSchedule)}var v=new Array(m.settings.onTimerSchedule===null||m.settings.onTimerSchedule===undefined?0:m.settings.onTimerSchedule.length);for(var t=0,r=0;r<v.length;r++){if(m.settings.onTimerSchedule[r]===null||m.settings.onTimerSchedule[r]===undefined){continue}v[t]={hour:0,minute:0,week:0,inputSource:0};if(p.webOSVer===3){var n=m.settings.onTimerSchedule[r].weekday;if(n%2){var w=n%2;n=64+((n-w)/2)}else{n=n/2}}else{n=m.settings.onTimerSchedule[r].weekday}v[t].hour=m.settings.onTimerSchedule[r].hour;v[t].minute=m.settings.onTimerSchedule[r].minute;v[t].week=n;var s="ext://";var u=m.settings.onTimerSchedule[r].input.toUpperCase();var o="1";if(isNaN(u.substring(u.length-1,u.length))===false){o=u.substring(u.length-1,u.length);u=u.substring(0,u.length-1)}u=u.split("/")[0];if(u.toUpperCase()==="DISPLAYPORT"){s=s+"dp:"+o}else{s=s+u.toLowerCase()+":"+o}v[t++].inputSource=s}q.timerList=v;if(typeof j==="function"){j(q)}})}},onFailure:function(m){b("getOnTimerList: On Failure");delete m.returnValue;if(typeof k==="function"){g(m,"PGOTL","Power.getOnTimerList returns failure.");k(m)}}})}});b("Power.getOnTimerList Done")};h.prototype.getOffTimerList=function(j,k){b("getOffTimerList: ");i(function(l){if(l.webOSVer===4||l.webOSVer>4){e.Request("luna://com.webos.service.commercial.scapadapter/settings/",{method:"get",parameters:{category:"commercial",keys:["onOffTimeSchedule"]},onSuccess:function(m){if(m.returnValue===true){var s={};var t=new Array(m.settings.onOffTimeSchedule.offTime===null||m.settings.onOffTimeSchedule.offTime===undefined?0:m.settings.onOffTimeSchedule.offTime.length);for(var p=0,q=0;q<t.length;q++,p++){if(m.settings.onOffTimeSchedule.offTime[q]===null||m.settings.onOffTimeSchedule.offTime[q]===undefined){continue}t[p]={hour:0,minute:0,week:0};var r=m.settings.onOffTimeSchedule.offTime[q].day;var n=0;for(var o=0;o<r.length;o++){if(r[o]==="mon"){n+=1}if(r[o]==="tue"){n+=2}if(r[o]==="wed"){n+=4}if(r[o]==="thu"){n+=8}if(r[o]==="fri"){n+=16}if(r[o]==="sat"){n+=32}if(r[o]==="sun"){n+=64}}t[p].hour=m.settings.onOffTimeSchedule.offTime[q].hour;t[p].minute=m.settings.onOffTimeSchedule.offTime[q].minute;t[p].week=n}s.timerList=t;if(typeof j==="function"){j(s)}}},onFailure:function(m){b("getOffTimerList: On Failure");delete m.returnValue;if(typeof k==="function"){g(m,"PGOTL","Power.getOffTimerList returns failure.");k(m)}}})}else{e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["offTimerSchedule"]},onSuccess:function(m){b("getOffTimerList: On Success");i(function(s){b("version : "+s.webOSVer);if(m.returnValue===true){var r={};if(typeof m.settings.offTimerSchedule==="string"){m.settings.offTimerSchedule=JSON.parse(m.settings.offTimerSchedule)}var t=new Array(m.settings.offTimerSchedule===null||m.settings.offTimerSchedule===undefined?0:m.settings.offTimerSchedule.length);for(var n=0,o=0;o<t.length;o++){if(m.settings.offTimerSchedule[o]===null||m.settings.offTimerSchedule[o]===undefined){continue}t[n]={hour:0,minute:0,week:0};if(s.webOSVer===3){var p=m.settings.offTimerSchedule[o].weekday;if(p%2){var q=p%2;p=64+((p-q)/2)}else{p=p/2}}else{p=m.settings.offTimerSchedule[o].weekday}t[n].hour=m.settings.offTimerSchedule[o].hour;t[n].minute=m.settings.offTimerSchedule[o].minute;t[n++].week=p}r.timerList=t;if(typeof j==="function"){j(r)}}})},onFailure:function(m){b("getOffTimerList: On Failure");delete m.returnValue;if(typeof k==="function"){g(m,"PGOTL","Power.getOffTimerList returns failure.");k(m)}}})}});b("Power.getOffTimerList Done")};h.prototype.setDisplayMode=function(k,l,m){b("setDisplayMode: "+JSON.stringify(m));var n=null;switch(m.displayMode){case h.DisplayMode.DISPLAY_OFF:n="turnOffScreen";break;case h.DisplayMode.DISPLAY_ON:n="turnOnScreen";break;default:if(typeof l==="function"){var j={};g(j,"PSDM","Power.setDisplayMode returns failure. Invalid option value.");l(j)}return}b("setDisplayMode: "+n);if(n===null&&typeof l==="function"){var j={};g(j,"PSDM","Power.setDisplayMode returns failure. command was not defined.");l(j);b("Power.setDisplayMode invalid ");return}e.Request("luna://com.webos.service.tv.signage/",{method:"getPowerState",onSuccess:function(o){b("setDisplayMode: On Success");if(o.returnValue===true&&o.state===m.displayMode){if(typeof k==="function"){b("setDisplayMode: no need to do any action.");k()}return}e.Request("luna://com.webos.service.tv.signage/",{method:n,onSuccess:function(p){b("setDisplayMode: On Success");if(p.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(p){b("setDisplayMode: On Failure");delete p.returnValue;if(typeof l==="function"){g(p,"PSDM","Power.setDisplayMode returns failure.");l(p)}}})},onFailure:function(o){b("setDisplayMode: On Failure 2");delete o.returnValue;if(typeof l==="function"){g(o,"PSDM","Power.setDisplayMode returns failure.");l(o)}}});b("Power.setDisplayMode Done")};h.prototype.executePowerCommand=function(k,l,m){b("executePowerCommand: "+JSON.stringify(m));if(m.powerCommand===undefined||typeof m.powerCommand!=="string"||m.powerCommand===null||m.powerCommand.length<=0){if(typeof l==="function"){var j={};g(j,"PEPM","Power.executePowerCommand returns failure. invalid argument or out of range. ");l(j)}return}if((m.powerCommand!==h.PowerCommand.REBOOT)&&(m.powerCommand!==h.PowerCommand.SHUTDOWN)){var j={};g(j,"PEPM","Power.executePowerCommand returns failure. invalid argument.");l(j);return}e.Request("luna://com.webos.service.tv.signage/",{method:m.powerCommand,parameters:{reason:"unknown"},onSuccess:function(n){b("executePowerCommand: On Success");if(n.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(n){b("executePowerCommand: On Failure");delete n.returnValue;if(typeof l==="function"){g(n,"PEPM","Power.executePowerCommand returns failure.");l(n)}}});b("Power.executePowerCommand Done")};h.prototype.setDPMWakeup=function(k,m,n){var l=null;switch(n.dpmSignalType){case h.DPMSignalType.CLOCK:l="clock";break;case h.DPMSignalType.CLOCK_WITH_DATA:l="clockAndData";break}b("setDPMWakeup: "+l);if(l===null&&typeof m==="function"){var j={};g(j,"PSDW","Power.setDPMWakeup returns failure. command was not defined.");m(j);b("Power.setDPMWakeup invalid ");return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{dpmWakeUpControl:l}},onSuccess:function(o){b("setDPMWakeup: On Success");if(o.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(o){b("setDPMWakeup: On Failure");delete o.returnValue;if(typeof m==="function"){g(o,"PSDW","Power.setDPMWakeup returns failure.");m(o)}}});b("Power.setDPMWakeup Done")};h.prototype.getDPMWakeup=function(j,k){b("getDPMWakeup: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["dpmWakeUpControl"]},onSuccess:function(l){b("getDPMWakeup: On Success");if(l.returnValue===true){var m={};m.dpmSignalType=l.settings.dpmWakeUpControl;if(typeof j==="function"){j(m)}}},onFailure:function(l){b("getDPMWakeup: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"PGDW","Power.getDPMWakeup returns failure.");k(l)}}});b("Power.getDPMWakeup Done")};h.prototype.setPMMode=function(k,l,m){var n=null;switch(m.mode){case h.PMMode.PowerOff:n="powerOff";break;case h.PMMode.SustainAspectRatio:n="sustainAspectRatio";break;case h.PMMode.ScreenOff:n="screenOff";break;case h.PMMode.ScreenOffAlways:n="screenOffAlways";break;case h.PMMode.ScreenOffBacklight:n="screenOffBacklight";break}b("setPMMode: "+n);if(n===null&&typeof l==="function"){var j={};g(j,"PSPM","Power.setPMMode returns failure. command was not defined.");l(j);b("Power.setPMMode invalid ");return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{pmMode:n}},onSuccess:function(o){b("setPMMode: On Success");if(o.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(o){b("setPMMode: On Failure");delete o.returnValue;if(typeof l==="function"){g(o,"PSPM","Power.setPMMode returns failure.");l(o)}}});b("Power.setPMMode Done")};h.prototype.getPMMode=function(j,k){b("getPMMode: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["pmMode"]},onSuccess:function(l){b("getPMMode: On Success");if(l.returnValue===true){var m={};m.mode=l.settings.pmMode;if(typeof j==="function"){j(m)}}},onFailure:function(l){b("getPMMode: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"PGPM","Power.getPMMode returns failure.");k(l)}}});b("Power.getPMMode Done")};h.prototype.setPowerOnDelay=function(k,l,m){b("setPowerOnDelay: "+m.delayTime);if(m.delayTime===null&&typeof l==="function"){var j={};g(j,"PSPD","Power.setPowerOnDelay returns failure. command was not defined.");l(j);b("Power.setPowerOnDelay invalid ");return}if(typeof m.delayTime!=="number"){var j={};g(j,"PSPD","Power.setPowerOnDelay returns failure. delayTime is not a number.");l(j);b("Power.setPowerOnDelay invalid type");return}if((m.delayTime<0)||(m.delayTime>250)){var j={};g(j,"PSPD","Power.setPowerOnDelay returns failure. Out of range.");l(j);b("Power.setPowerOnDelay invalid range");return}e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{powerOnDelay:m.delayTime}},onSuccess:function(n){b("setPowerOnDelay: On Success");if(n.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(n){b("setPowerOnDelay: On Failure");delete n.returnValue;if(typeof l==="function"){g(n,"PSPD","Power.setPowerOnDelay returns failure.");l(n)}}});b("Power.setPowerOnDelay Done")};h.prototype.getPowerOnDelay=function(j,k){b("getPowerOnDelay: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["powerOnDelay"]},onSuccess:function(l){b("getPowerOnDelay: On Success");if(l.returnValue===true){var m={};m.delayTime=l.settings.powerOnDelay;if(typeof j==="function"){j(m)}}},onFailure:function(l){b("getPowerOnDelay: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"PGPD","Power.getPowerOnDelay returns failure.");k(l)}}});b("Power.getPowerOnDelay Done")};h.prototype.getOnOffTimeSchedule=function(j,k){b("getOnOffTimeSchedule: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"getOnOffTimeSchedule",parameters:{},onSuccess:function(l){b("getOnOffTimeSchedule: On Success");if(l.returnValue===true){if(typeof j==="function"){var m={};m.onOffTimeScheduleList=l.settings.onOffTimeSchedule;if(typeof j==="function"){j(m)}}}},onFailure:function(l){b("getOnOffTimeSchedule: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"TGAS","Power.getOnOffTimeSchedule returns failure.");k(l)}}});b("Power.getOnOffTimeSchedule Done")};h.prototype.setOnOffTimeSchedule=function(j,k,l){b("setOnOffTimeSchedule: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"setOnOffTimeSchedule",parameters:l,onSuccess:function(m){b("setOnOffTimeSchedule: On Success");if(m.returnValue===true){if(typeof j==="function"){if(typeof j==="function"){j()}}}},onFailure:function(m){b("setOnOffTimeSchedule: On Failure");delete m.returnValue;if(typeof k==="function"){g(m,"TGAS","Power.setOnOffTimeSchedule returns failure.");k(m)}}});b("Power.setOnOffTimeSchedule Done")};h.prototype.unsetOnOffTimeSchedule=function(j,k){b("unsetOnOffTimeSchedule: ");e.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"unsetOnOffTimeSchedule",parameters:{},onSuccess:function(l){b("unsetOnOffTimeSchedule: On Success");if(l.returnValue===true){if(typeof j==="function"){if(typeof j==="function"){j()}}}},onFailure:function(l){b("unsetOnOffTimeSchedule: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"TGAS","Power.unsetOnOffTimeSchedule returns failure.");k(l)}}});b("Power.unsetHolidaySchedule Done")};return h}());
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/security",function(d,c,e){function f(h){}var a;if(window.PalmSystem){f("Window.PalmSystem Available");a=d("cordova/plugin/webos/service")}else{a={Request:function(h,i){f(h+" invoked. But I am a dummy because PalmSystem is not available");if(typeof i.onFailure==="function"){i.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}function b(i,j,h){if(i.errorCode===undefined||i.errorCode===null){i.errorCode=j}if(i.errorText===undefined||i.errorText===null){i.errorText=h}}var g=function(){};g.prototype.registerServerCertificate=function(i,j,k){f("registerServerCertificate: "+JSON.stringify(k));if(k.userName===undefined||typeof k.userName!=="string"||k.userName.length<4||k.userName.length>10||k.password===undefined||typeof k.password!=="string"||k.password.length<4||k.password.length>10||k.certificate===undefined||typeof k.certificate!=="string"){if(typeof j==="function"){var h={};b(h,"SRSC","Security.registerServerCertificate returns failure. invalid parameters or out of range.");j(h)}return}a.Request("luna://com.webos.service.commercial.signage.storageservice/security/",{method:"registerServerCertificate",parameters:{userName:k.userName,password:k.password,certificate:k.certificate},onSuccess:function(l){f("registerServerCertificate: On Success");if(l.returnValue===true){if(typeof i==="function"){i()}}},onFailure:function(l){f("registerServerCertificate: On Failure");delete l.returnValue;if(typeof j==="function"){b(l,"SRSC","Security.registerServerCertificate returns failure.");j(l)}}});f("Security.registerServerCertificate Done")};g.prototype.unregisterServerCertificate=function(i,j,k){f("unregisterServerCertificate: "+JSON.stringify(k));if(k.userName===undefined||typeof k.userName!=="string"||k.userName.length<4||k.userName.length>10||k.password===undefined||typeof k.password!=="string"||k.password.length<4||k.password.length>10){if(typeof j==="function"){var h={};b(h,"SUSC","Security.unregisterServerCertificate returns failure. invalid parameters or out of range.");j(h)}return}a.Request("luna://com.webos.service.commercial.signage.storageservice/security/",{method:"unregisterServerCertificate",parameters:{userName:k.userName,password:k.password},onSuccess:function(l){f("unregisterServerCertificate: On Success");if(l.returnValue===true){if(typeof i==="function"){i()}}},onFailure:function(l){f("unregisterServerCertificate: On Failure");delete l.returnValue;if(typeof j==="function"){b(l,"SUSC","Security.unregisterServerCertificate returns failure.");j(l)}}});f("Security.unregisterServerCertificate Done")};g.prototype.existServerCertificate=function(i,j,k){f("existServerCertificate: "+JSON.stringify(k));if(k.userName===undefined||typeof k.userName!=="string"||k.userName.length<4||k.userName.length>10||k.password===undefined||typeof k.password!=="string"||k.password.length<4||k.password.length>10){if(typeof j==="function"){var h={};b(h,"SESC","Security.existServerCertificate returns failure. invalid parameters or out of range.");j(h)}return}a.Request("luna://com.webos.service.commercial.signage.storageservice/security/",{method:"existServerCertificate",parameters:{userName:k.userName,password:k.password},onSuccess:function(l){f("existServerCertificate: On Success");if(l.returnValue===true){if(typeof i==="function"){var m={};m.userName=k.userName;m.exist=l.exist;i(m)}}},onFailure:function(l){f("existServerCertificate: On Failure");delete l.returnValue;if(typeof j==="function"){b(l,"SESC","Security.existServerCertificate returns failure.");j(l)}}});f("Security.existServerCertificate Done")};e.exports=g});Security=cordova.require("cordova/plugin/security");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/signage",function(n,F,c){var G;function l(H){}if(window.PalmSystem){l("Window.PalmSystem Available");G=n("cordova/plugin/webos/service")}else{l("Window.PalmSystem is NOT Available");G={Request:function(H,I){l(H+" invoked. But I am a dummy because PalmSystem is not available");if(typeof I.onFailure==="function"){I.onFailure({returnValue:false,errorCode:"CORDOVA_ERR",errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var f=null;var g={};function d(H){if(f===null){G.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion","boardType"]},onSuccess:function(I){l("getPlatformInfo: onSuccess");l("version : "+I.sdkVersion);var J=I.sdkVersion.split(".");if(J.length>=1&&J[0]==="1"){g={webOSVer:1,chipset:I.boardType.split("_")[0]}}else{if(J.length>=1&&J[0]==="2"){g={webOSVer:2,chipset:I.boardType.split("_")[0]}}else{if(J.length>=1&&J[0]==="3"){g={webOSVer:3,chipset:I.boardType.split("_")[0]}}else{g={webOSVer:0,chipset:""}}}}f=g.webOSVer;H(g)},onFailure:function(I){l("getPlatformInfo: onFailure");g={webOSVer:0,chipset:""};H(g)}})}else{H(g)}}var A=function(H){var I=q[H];l(JSON.stringify(I,null,3));if(I&&I.getEvent===true){if(q[H].listenerObj){q[H].listenerObj.cancel();q[H].getEvent=false;q[H].listenerObj=null}}};var s=function(I,H){var J=q[I];if(J&&typeof J.createListener==="function"){J.listenerObj=J.createListener(H);J.getEvent=true}};function e(I){if(I.substring(0,"ext://".length)!=="ext://"){l("Bad prefix: "+I);return false}var H=I.substring("ext://".length);l("body is: "+H);var J=H.split(":");if(J.length===2){return J[0]+J[1]}else{if(J.length===1){return J[0]}else{l("Bad Syntax: "+I);return false}}}function y(H,J){for(var I in H){if(H[I]===J){return true}}return false}var v={FAILOVER_MODE:"failover",FAILOVER_BACKUPVIASTORAGE_MODE:"backupViaStorage",FAILOVER_PRIORITY:"failoverPriority",IR_OPERATION_MODE:"enableIrRemote",LOCALKEY_OPERATION_MODE:"enableLocalKey",OSD_PORTRAIT_MODE:"osdPortraitMode",TILE_MODE:"tileMode",TILE_ID:"tileId",TILE_ROW:"tileRow",TILE_COLUME:"tileCol",TILE_NATURALMODE:"naturalMode",DPM_MODE:"dpmMode",AUTOMATIC_STANDBY_MODE:"autoSB",ISM_METHOD:"ismmethod",SES_MODE:"smartEnergy",DO_15OFF_MODE:"15off",MONITOR_FAN:"monitorFan",MONITOR_SIGNAL:"monitorSignal",MONITOR_LAMP:"monitorLamp",MONITOR_SCREEN:"monitorScreen",MONITOR_AUDIO:"monitorAudio",AUDIO_SOURCE_HDMI1:"audioSourceHdmi1",AUDIO_SOURCE_HDMI2:"audioSourceHdmi2",AUDIO_SOURCE_DP:"audioSourceDp"};var w=function(H){l("Create Listener for monitorTemperature");var I=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getTemperature",parameters:{subscribe:true},onSuccess:function(J){l("temperature : "+JSON.stringify(J,null,3));if(J.returnValue===true){var K={source:a.MonitoringSource.THERMOMETER,type:a.EventType.CURRENT_TEMPERATURE,data:{temperature:J.temperature}};if(typeof H==="function"){H(K)}}},onFailure:function(J){l("monitor_temperature : FAIL "+JSON.stringify(J,null,3))}});return I};var k=function(H){l("Create Listener for monitorFan");var I=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getFanEvent",parameters:{subscribe:true},onSuccess:function(J){l("monitor_fan : "+JSON.stringify(J,null,3));if(J.returnValue===true){var K={source:a.MonitoringSource.FAN,type:a.EventType.FAN_STATUS,data:{status:J.fanFault}};if(typeof H==="function"){H(K)}}},onFailure:function(J){l("monitor_fan : FAIL "+JSON.stringify(J,null,3))}});return I};var m=function(H){l("Create Listener for monitorLamp");var I=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getLampEvent",parameters:{subscribe:true},onSuccess:function(J){l("monitor_lamp : "+JSON.stringify(J,null,3));if(J.returnValue===true){var K={source:a.MonitoringSource.LAMP,type:a.EventType.LAMP_STATUS,data:{status:J.lampFault}};if(typeof H==="function"){H(K)}}},onFailure:function(J){l("monitor_lamp : FAIL "+JSON.stringify(J,null,3))}});return I};var u=function(H){l("Create Listener for monitorSignal");var I=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getSignalEvent",parameters:{subscribe:true},onSuccess:function(J){l("monitor_signal : "+JSON.stringify(J,null,3));if(J.returnValue===true){var K={type:a.EventType.SIGNAL_STATUS,source:a.MonitoringSource.SIGNAL,data:{}};if(J.noSignal===true){K.data.status="no_signal"}else{K.data.status="signal_available"}if(typeof H==="function"){H(K)}}},onFailure:function(J){l("monitor_signal : FAIL "+JSON.stringify(J,null,3))}});return I};var B=function(H){l("Create Listener for monitorScreen");var I=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/getScreenEvent",parameters:{subscribe:true},onSuccess:function(J){l("monitor_screen : "+JSON.stringify(J,null,3));if(J.returnValue===true){var K={source:a.MonitoringSource.SCREEN,type:a.EventType.SCREEN_STATUS,data:{status:J.screen}};if(typeof H==="function"){H(K)}}},onFailure:function(J){l("monitor_screen FAIL : "+JSON.stringify(J,null,3))}});return I};function E(I,J,H){if(o.hasOwnProperty(I)===false){o[I]={};o[I].instanceOfSubscription=J;o[I].eventListener=H}else{o[I].instanceOfSubscription=J;o[I].eventListener=H}return true}function j(H){if(o.hasOwnProperty(H)===false){return false}else{if(o[H].instanceOfSubscription===null){return false}else{o[H].instanceOfSubscription.cancel();o[H].instanceOfSubscription=null;o[H].eventListener=null;return true}}}function p(H){if(o.hasOwnProperty(H)===false){return false}else{return o[H]}}var h=function(H,J,I){l("Create Listener for monitorRS232C");var K=G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/startMonitorRS232C",parameters:{subscribe:true},onSuccess:function(L){l("monitorRS232C success : "+JSON.stringify(L,null,3));if(L.returnValue===true){if(Object.keys(L).length===1){E("RS232C",K,I);H()}else{if(L.hasOwnProperty("data")===true){var M=p("RS232C");if(M===false){J({errorCode:"INTERNAL_ERROR",errorText:"There is not subscriptionEventInfo"})}else{if(typeof M.eventListener==="function"){M.eventListener({data:L.data})}}}else{J({errorCode:"INTERNAL_ERROR",errorText:"Unknown return value"})}}return}},onFailure:function(L){l("monitorRS232C fail : "+JSON.stringify(L,null,3));J({errorCode:"LUNA_ERROR",errorText:"Failed to request getRS232CEvent to system"})}})};var q={fan:{getEvent:false,listenerObj:null,createListener:k},screen:{getEvent:false,listenerObj:null,createListener:B},temperature:{getEvent:false,listenerObj:null,createListener:w},signal:{getEvent:false,listenerObj:null,createListener:u},lamp:{getEvent:false,listenerObj:null,createListener:m}};var o={RS232C:{instanceOfSubscription:null,eventListener:null}};var x={row:0,col:0};var a=function(){};a.UNDEFINED="___undefined___";a.OsdPortraitMode={ON:"90",OFF:"off"};a.ImgResolution={HD:"HD",FHD:"FHD",};a.AutomaticStandbyMode={OFF:"off",STANDBY_4HOURS:"4hours"};a.IsmMethod={NORMAL:"NORMAL",ORBITER:"ORBITER",INVERSION:"INVERSION",COLORWASH:"COLORWASH",WHITEWASH:"WHITEWASH",WASHING_BAR:"WASHINGBAR",USER_IMAGE:"USERIMAGE",USER_VIDEO:"USERVIDEO"};a.FailoverMode={OFF:"off",AUTO:"auto",MANUAL:"manual"};a.DigitalAudioInput={HDMI_DP:"hdmi",AUDIO_IN:"audioIn"};a.DpmMode={OFF:"off",POWER_OFF_5SECOND:"5sec",POWER_OFF_10SECOND:"10sec",POWER_OFF_15SECOND:"15sec",POWER_OFF_1MINUTE:"1min",POWER_OFF_3MINUTE:"3min",POWER_OFF_5MINUTE:"5min",POWER_OFF_10MINUTE:"10min"};a.KeyOperationMode={ALLOW_ALL:"normal",POWER_ONLY:"usePwrOnly",BLOCK_ALL:"blockAll"};a.EventType={CURRENT_TEMPERATURE:"CURRENT_TEMPERATURE",FAN_STATUS:"FAN_STATUS",LAMP_STATUS:"LAMP_STATUS",SCREEN_STATUS:"SCREEN_STATUS",SIGNAL_STATUS:"SIGNAL_STATUS"};a.MonitoringSource={FAN:"FAN",LAMP:"LAMP",SIGNAL:"SIGNAL",SCREEN:"SCREEN",THERMOMETER:"THERMOMETER"};a.KeyCode={POWER:409,DISC_POWER_OFF:706,DISC_POWER_ON:705,ENERGY_SAVING:709,INPUT:712,LG_3D:737,NUM_0:48,NUM_1:49,NUM_2:50,NUM_3:51,NUM_4:52,NUM_5:53,NUM_6:54,NUM_7:55,NUM_8:56,NUM_9:57,OPT_1aA:1103,CLEAR:8,VOL_UP:447,VOL_DOWN:448,MUTE:449,RATIO:722,AUTO:1102,BRIGHTNESS_UP:1100,BRIGHTNESS_DOWN:1101,PSM:1108,SMART_HOME:734,WBAL:1105,MENU:627,SMENU:1106,LEFT:37,UP:38,RIGHT:39,DOWN:40,ENTER:10,BACK:608,EXIT:601,SIMPLINK:724,TILE:1107,STOP:413,REWIND:412,PLAY:415,PAUSE:19,FAST_FORWARD:417,RED:403,GREEN:404,YELLOW:405,BLUE:406,INFO:1109};function r(I,J,H){if(I.errorCode===undefined||I.errorCode===null){I.errorCode=J}if(I.errorText===undefined||I.errorText===null){I.errorText=H}}function z(K,J,L,H,I){var M={category:K,keys:J};G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:M,onSuccess:function(N){l("On Success");if(N.returnValue===true){var O=L(N.settings);if(O===false){if(typeof I==="function"){I({errorText:"Invalid DB value",errorCode:"DB_ERROR"})}}else{if(typeof H==="function"){l("successCallback");H(O)}else{l("successCallback not registered or is not a function: "+H)}}}else{l("Settings Failed: "+JSON.stringify(N,null,3));if(typeof I==="function"){I({errorText:"Invalid DB value : "+N.errorText,errorCode:"DB_ERROR"})}}},onFailure:function(N){l("On Failure");delete N.returnValue;if(N.settings){l("settings = "+JSON.stringify(N.settings,null,3));var P=L(N.settings);l("errorKey = "+JSON.stringify(N.errorKey,null,3));for(var O=0;O<N.errorKey.length;++O){P[N.errorKey[O]]=a.UNDEFINED}l("cbObj = "+JSON.stringify(P,null,3));if(typeof H==="function"){l("successCallback");H(P)}}else{if(typeof I==="function"){I({errorText:((typeof N.errorText==="undefined")?"DB Failure":N.errorText),errorCode:"DB_ERROR"})}}}});l("Requested Service: luna://com.webos.service.commercial.signage.storageservice/settings/");l("params : "+JSON.stringify(M))}function i(M,L,H,I){var N={category:M,settings:L};l("settings : "+JSON.stringify(L,null,3));var J=false;for(var K in L){if(K){l("has key : "+K);J=true;break}}if(J===false){l("Nothing to set");H();return}G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:N,onSuccess:function(){l("On Success");if(typeof H==="function"){l("SUCCEES CALLBACK");H()}},onFailure:function(O){l("On Failure");delete O.returnValue;if(typeof I==="function"){l("ERROR CALLBACK");I(O)}}});l("Requested Service: luna://com.webos.service.commercial.signage.storageservice/settings/");l("params : "+JSON.stringify(N))}a.prototype.setPortraitMode=function(H,J,M){var N={};var L;function K(O){if(O.portraitMode){for(var P in a.OsdPortraitMode){if(O.portraitMode===a.OsdPortraitMode[P]){return true}}L="Signage.setPortraitMode: Unrecognized OsdPortraintMode : "+O.portraitMode;return false}else{L="Signage.setPortraitMode: portraitMode does not exist.";return false}}if(K(M)){var I=M.portraitMode;N[v.OSD_PORTRAIT_MODE]=I;G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"setOsdPortraitMode",parameters:{osdPortraitMode:M.portraitMode},onSuccess:function(O){H()},onFailure:function(O){if(O.errorText.indexOf("Unknown method")!==-1){i("commercial",N,H,J)}else{J({errorCode:O.errorCode,errorText:O.errorText})}}});l("setPortraitMode Done")}else{J({errorCode:"BAD_PARAMETER",errorText:L})}};a.prototype.setFailoverMode=function(I,K,Q){var J={};var L;function H(R){l("options:"+JSON.stringify(R,null,3));var U=R.failoverMode;if(U){if(U.mode){if(U.mode===a.FailoverMode.MANUAL){if(U.priority){if(U.priority.length===0||typeof U.priority.length==="undefined"){return false}else{return true}}else{L="priority should be present when mode is MANUAL.";return false}}else{if(U.priority){L="This priority is available only if mode is : Signage.FailoverMode.MANUAL";return false}else{var T=false;l("Mode is: "+U.mode);for(var S in a.FailoverMode){if(U.mode===a.FailoverMode[S]){l("Matched with: "+a.FailoverMode[S]);T=true}}if(!T){l("Unrecognized failoverMode : "+U.mode);L="Unrecognized failoverMode : "+U.mode;return false}else{return true}}}}else{if(!U.priority){return true}else{l("Unrecognized failoverMode : "+U.mode);L="Unrecognized failoverMode : "+U.mode;return false}}}else{L="Fail over mode not set : ";return false}}if(H(Q)){var N=Q.failoverMode;if(!N.mode&&!N.priority){I()}else{if(N.mode===a.FailoverMode.MANUAL){G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"setManualFailoverPrioirty",parameters:{priority:N.priority},onSuccess:function(R){l("onSuccess");if(R.returnValue){I()}else{l("FAILED: "+R.errorText);K({errorCode:R.errorCode,errorText:R.errorText})}},onFailure:function(R){l("onFailure");l("FAILED: "+R.errorText);K({errorCode:R.errorCode,errorText:R.errorText})}})}else{if(N.mode){var O=N.mode;l("mode: "+N.mode);J[v.FAILOVER_MODE]=O;J[v.FAILOVER_BACKUPVIASTORAGE_MODE]=O;l("Set: "+JSON.stringify(J,null,3));i("commercial",J,I,K);l("setFailoverMode Done")}else{var M={errorCode:"BAD_PARAMETER",errorText:"Mode should be set."};K(M)}}}}else{var P={errorCode:"BAD_PARAMETER",errorText:L};K(P)}};a.prototype.getFailoverMode=function(H,I){try{G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getFailoverPrioirty",parameters:{},onSuccess:function(K){l("onSuccess");if(K.returnValue){var O=[];for(var M=0;M<K.priority.length;M++){var N=K.priority[M].split("/");var L="";if(typeof N[3]==="undefined"){O.push("ext://"+N[2].toLowerCase())}else{O.push("ext://"+N[2].toLowerCase()+":1")}}H({priority:O,mode:K.mode})}else{l("FAILED: "+K.errorText);I({errorCode:K.errorCode,errorText:K.errorText})}},onFailure:function(K){l("onFailure");l("FAILED: "+K.errorText);I({errorCode:K.errorCode,errorText:K.errorText})}})}catch(J){l("EXCEPTION"+J);I({errorCode:"SGFO",errorText:"Signage.getFailoverMode occur error during operaation."})}};function C(J,H){var I=typeof J;l("mytype: "+I);l("type: "+H);if(I==="undefined"){return true}else{if(I===H){return J}else{return false}}}a.prototype.setTileInfo=function(H,I,L){var K;var J=function(W,S,X){var O=typeof W.tileInfo.enabled;l("enabledType:"+O);if(O!=="undefined"&&O!=="boolean"){K="enabled should be a boolean";return false}var U=function(Z){var Y=new RegExp(/^[0-9]+$/g).exec(Z);if(Y){return false}else{return true}};if(W.tileInfo){var V=W.tileInfo.row;if(typeof V!=="undefined"){if(U(V)){K="row should be a natural number :"+V;return false}else{if(V>S||V<1){K="row should be 0<n<"+(S+1)+" but :"+V;return false}}}else{return true}var Q=W.tileInfo.column;if(typeof Q!=="undefined"){if(U(Q)){K="column should be a natural number :"+Q;return false}else{if(Q>X||Q<1){K="column should be 0<n<"+(X+1)+" but :"+Q;return false}}}else{return true}if(V===1&&Q===1){K="row and column can't be both 1";return false}var P=W.tileInfo.tileId;if(typeof P!=="undefined"){if(U(P)){K="id should be a natural number :"+P;return false}else{if(P<1){K="id should be bigger than 0 but :"+P;return false}else{var R=x.row;if(V){R=V}var T=x.column;if(Q){T=Q}l("curRow : "+R);l("curCol : "+T);l("id : "+P);if(P>T*R){K="ID should be less than curRow*curCol";return false}}}}else{return true}}else{K="Tile info is mandatory";return false}return true};var M=15;var N=15;G.Request("luna://com.webos.service.config",{method:"getConfigs",parameters:{configNames:["commercial.video.tileRowMax","commercial.video.tileColMax"]},onSuccess:function(P){l("onSuccess");if(P.returnValue){M=P.configs["commercial.video.tileRowMax"];N=P.configs["commercial.video.tileColMax"];if(J(L,M,N)===true){var O=L.tileInfo;var R={};if(typeof O.enabled==="boolean"){if(O.enabled){R[v.TILE_MODE]="on"}else{R[v.TILE_MODE]="off"}}if(O.row){R[v.TILE_ROW]=O.row.toString()}if(O.column){R[v.TILE_COLUME]=O.column.toString()}if(O.tileId){R[v.TILE_ID]=O.tileId.toString()}if(typeof O.naturalMode==="boolean"){if(O.naturalMode){R[v.TILE_NATURALMODE]="on"}else{R[v.TILE_NATURALMODE]="off"}}l("Set: "+JSON.stringify(R,null,3));var Q=function(){l("Do callback");if(O.row){x.row=O.row}if(O.column){x.column=O.column}if(typeof H==="function"){l("Invoke successCallback");H();l("Invoked successCallback")}};i("commercial",R,Q,I);l("setTileInfo Done")}else{var S={errorCode:"BAD_PARAM",errorText:K};I(S)}}else{l("FAILED: "+P.errorText);I({errorCode:P.errorCode,errorText:P.errorText})}},onFailure:function(O){l("onFailure");l("FAILED: "+O.errorText);I({errorCode:O.errorCode,errorText:O.errorText})}})};function t(H){if(H==="on"){return true}else{return false}}a.prototype.getTileInfo=function(H,I){var K=function(L){var M={};l("settings Value: "+JSON.stringify(L,null,3));M.enabled=t(L[v.TILE_MODE]);M.row=parseInt(L[v.TILE_ROW],10);M.column=parseInt(L[v.TILE_COLUME],10);M.tileId=parseInt(L[v.TILE_ID],10);M.naturalMode=t(L[v.TILE_NATURALMODE]);l("Return Value: "+JSON.stringify(M,null,3));return M};var J=[v.TILE_MODE,v.TILE_ROW,v.TILE_COLUME,v.TILE_ID,v.TILE_NATURALMODE];z("commercial",J,K,H,I)};a.prototype.getSignageInfo=function(H,I){G.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"getSignageInformation",parameters:{},onSuccess:function(K){if(typeof H==="function"){l(K.signageInfo);if(typeof K.signageInfo.digitalAudioInputMode!=="undefined"){var J=a.DigitalAudioInput.HDMI_DP;if(K.signageInfo.digitalAudioInputMode.hasOwnProperty("ext://HDMI:1")){J=K.signageInfo.digitalAudioInputMode["ext://HDMI:1"]}else{if(K.signageInfo.digitalAudioInputMode.hasOwnProperty("ext://hdmi:1")){J=K.signageInfo.digitalAudioInputMode["ext://hdmi:1"]}}K.signageInfo.digitalAudioInputMode=J}H(K.signageInfo)}},onFailure:function(J){delete J.returnValue;if(typeof I==="function"){I(J)}}})};a.prototype.enableCheckScreen=function(H,I,L){var K;var J=function(O){if(typeof O.checkScreen!=="undefined"||O.checkScreen!==null){return true}else{K="need options.checkScreen.";return false}};if(J(L)){var M={checkScreen:(L.checkScreen===true?"on":"off")};l("Set: "+JSON.stringify(M,null,3));i("commercial",M,H,I);l("enableCheckScreen Done")}else{var N={errorCode:"BAD_PARAMETER",errorText:K};I(N)}};a.prototype.setIsmMethod=function(H,I,L){var M={};var K;function J(N,Q,P){if(N.ismMethod){if((Q===false&&N.ismMethod===a.IsmMethod.USER_IMAGE)||(P===false&&(N.ismMethod===a.IsmMethod.USER_IMAGE||N.ismMethod===a.IsmMethod.USER_VIDEO))){K="no supported ismMethod : "+N.ismMethod;return false}for(var O in a.IsmMethod){if(N.ismMethod===a.IsmMethod[O]){return true}}K="Unrecognized ismMethod : "+N.ismMethod;return false}else{K="ismMethod does not exist.";return false}}G.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:["commercial.applist.disablePhoto","commercial.unsupportedFeatures"]},onSuccess:function(V){if(typeof H==="function"&&V.returnValue===true){var T=true;var S=true;var N=V.configs["commercial.applist.disablePhoto"];for(var R=0;R<N.length;R++){if(N[R].toLowerCase()==="com.webos.app.ism"){T=false;break}}var U=V.configs["commercial.unsupportedFeatures"];for(var Q=0;Q<U.length;Q++){if(U[Q].toLowerCase()==="usb"){T=false;S=false;break}}if(J(L,T,S)){if(L.ismMethod){var O=L.ismMethod;l("ismMethod : "+O);M[v.ISM_METHOD]=O}l("Set: "+JSON.stringify(M,null,3));i("commercial",M,H,I);l("setIsmMethod Done")}else{var P={errorCode:"BAD_PARAMETER",errorText:K};I(P)}}},onFailure:function(N){delete N.returnValue;if(typeof I==="function"){I(N)}}})};a.prototype.setDigitalAudioInputMode=function(H,I,L){var K;function J(N){if(N.hasOwnProperty("digitalAudioInputList")){return false}else{if(N.hasOwnProperty("digitalAudioInput")){return true}else{K="digitalAudioInputList does not exist.";return false}}}if(J(L)){G.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"setDigitalAudioInputList",parameters:{digitalAudioInputList:{"ext://hdmi:1":L.digitalAudioInput}},onSuccess:function(){if(typeof H==="function"){H()}},onFailure:function(N){delete N.returnValue;if(typeof I==="function"){I(N)}}})}else{var M={errorCode:"BAD_PARAMETER",errorText:K};I(M)}};var D=false;a.prototype.registerSystemMonitor=function(I,M,Q){var P=["fan","signal","lamp","screen","temperature"];var N;var O="BAD_PARAMETER";l("Listeners are: "+JSON.stringify(q,null,3));function H(R){if(D===true){N="Not ready to register monitor now.";O="SYSTEM_ERROR";return false}l("options are: "+JSON.stringify(R,null,3));if(typeof R.eventHandler!=="function"){N="No event handler was given or event hadnler is not a function";return false}if(R.monitorConfiguration){for(var T in R.monitorConfiguration){if(T){var V=false;for(var S=0;S<P.length;++S){if(T===P[S]){l("Found key: "+P[S]);V=true}}if(!V){N="Invalid Monitoring source : "+T;return false}var U=R.monitorConfiguration[T];l("value: "+U);if(typeof U!=="boolean"){N="Invalid value : "+U;return false}}}return true}else{N="monitorConfiguration does not exist.";return false}}if(H(Q)){var K=function(){l("Canceled all previous message subscriptions");var S=Q.eventHandler;for(var R in Q.monitorConfiguration){if(R){var T=Q.monitorConfiguration[R];if(T===true){l("Add listener for : "+R);s(R,S)}}}l("Monitoring Setup : "+JSON.stringify(q,null,3));l("Start Polling : ");G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/startMonitor",parameters:{},onSuccess:function(U){l("On Success");if(U.returnValue===true){if(typeof I==="function"){I()}}else{if(typeof M==="function"){M(U)}}D=false},onFailure:function(U){l("On Failure");delete U.returnValue;if(typeof M==="function"){M(U)}D=false}})};var J=function(R){M(R)};l("Cancel all previous message subscriptions");D=true;b(K,J)}else{var L={errorCode:O,errorText:N};M(L)}};a.prototype.unregisterSystemMonitor=function(H,I){b(H,I);l("After unregister, _gSystemMonitoringSetup are: "+JSON.stringify(q,null,3))};function b(H,I){l("cancelAllSubscription> setup are: "+JSON.stringify(q,null,3));for(var J in q){if(J){A(J)}}l("Stop Polling");G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/stopMonitor",parameters:{},onSuccess:function(K){l("On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}else{if(typeof I==="function"){I(K)}}},onFailure:function(K){l("On Failure");delete K.returnValue;if(typeof I==="function"){I(K)}}})}a.prototype.getSystemMonitoringInfo=function(H,I){if(q){H({fan:q.fan.getEvent,signal:q.signal.getEvent,lamp:q.lamp.getEvent,screen:q.screen.getEvent,temperature:q.temperature.getEvent})}else{var J={errorCode:"ERROR",errorText:"Failed to get system monitoring setup"};I(J)}};a.prototype.setPowerSaveMode=function(H,I,L){var K;function J(N){if(N.powerSaveMode){for(var O in N.powerSaveMode){if(O){var P=N.powerSaveMode[O];if(O==="ses"||O==="do15MinOff"){if(typeof P!=="boolean"){K="Invalid value : "+P;return false}}else{if(O==="automaticStandby"){if(!y(a.AutomaticStandbyMode,P)){K="Invalid automaticStandby value : "+P;return false}}else{if(O==="dpmMode"){if(!y(a.DpmMode,P)){K="Invalid dpmMode value : "+P;return false}}else{K="Unknown value : "+O;return false}}}}}return true}else{K="powerSaveMode does not exist.";return false}}if(J(L)){l(L.powerSaveMode);G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"setPowerSaveMode",parameters:{mode:L.powerSaveMode},onSuccess:function(N){l("onSuccess");if(N.returnValue){H(N.mode)}else{l("FAILED: "+N.errorText);I({errorCode:N.errorCode,errorText:N.errorText})}},onFailure:function(N){l("onFailure");l("FAILED: "+N.errorText);I({errorCode:N.errorCode,errorText:N.errorText})}})}else{var M={errorCode:"BAD_PARAMETER",errorText:K};I(M)}};a.prototype.getPowerSaveMode=function(H,I){G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getPowerSaveMode",parameters:{},onSuccess:function(J){l("onSuccess");if(J.returnValue){H(J.mode)}else{l("FAILED: "+J.errorText);I({errorCode:J.errorCode,errorText:J.errorText})}},onFailure:function(J){l("onFailure");l("FAILED: "+J.errorText);I({errorCode:J.errorCode,errorText:J.errorText})}})};a.prototype.setUsagePermission=function(I,L,P){var K={};var M;function H(Q){if(Q.policy){for(var R in Q.policy){if(R){var S=Q.policy[R];if(R==="remoteKeyOperationMode"||R==="localKeyOperationMode"){if(!y(a.KeyOperationMode,S)){M="Invalid KeyOperationMode value : "+S;return false}}else{M="Unknown value : "+R;return false}}}return true}else{M="policy does not exist.";return false}}if(H(P)){if(P.policy.localKeyOperationMode){var O=P.policy.localKeyOperationMode;l("portraitMode: "+O);K[v.LOCALKEY_OPERATION_MODE]=O}if(P.policy.remoteKeyOperationMode){var N=P.policy.remoteKeyOperationMode;l("portraitMode: "+N);K[v.IR_OPERATION_MODE]=N}l("Set: "+JSON.stringify(K,null,3));i("hotelMode",K,I,L);l("setPolicy Done")}else{var J={errorCode:"BAD_PARAMETER",errorText:M};L(J)}};a.prototype.getUsagePermission=function(H,I){var K=function(L){l("settings: "+JSON.stringify(L,null,3));var M={};M.remoteKeyOperationMode=L[v.IR_OPERATION_MODE];M.localKeyOperationMode=L[v.LOCALKEY_OPERATION_MODE];l("cbObj: "+JSON.stringify(M,null,3));return M};var J=[v.IR_OPERATION_MODE,v.LOCALKEY_OPERATION_MODE];z("hotelMode",J,K,H,I)};a.prototype.getUsageData=function(H,I){var J=false;var K=false;var M={uptime:false,totalUsed:false};function L(){l("accessResult");if(J===true&&K===true){l("CB Object: "+JSON.stringify(M,null,3));if(M.uptime===false||M.totalUsed===false){I({errorCode:"CORDOVA_FAIL",errorText:"Failed to get usage data"});return}else{l("SUCCESS");H(M);return}}else{l("Not Yet")}}G.Request("luna://com.webos.service.tv.signage/",{method:"getUTT",parameters:{},onSuccess:function(N){l("On getUTT Success");J=true;if(N.returnValue===true){l("UTT is :"+N.UTT);M.totalUsed=N.UTT}L()},onFailure:function(N){l("On getUTT Failure :"+JSON.stringify(N,null,3));J=true;L()}});G.Request("luna://com.webos.service.tv.signage/",{method:"dsmp/getElapsedTime",parameters:{},onSuccess:function(N){l("On getElapsedTime Success");K=true;l("result: "+JSON.stringify(N,null,3));if(N.returnValue===true){var O=N.elapsedTime;M.uptime=O;l("Elapsed!!: "+O)}L()},onFailure:function(N){l("On getSystemSettings Failure "+JSON.stringify(N,null,3));K=true;L()}})};a.prototype.captureScreen=function(H,I,J){var K={save:(J===undefined||J===null||J.save===undefined?false:J.save)};if(J!==undefined&&J!==null&&J.thumbnail!==undefined&&J.thumbnail===true){K.width=128;K.height=72}else{if(J.imgResolution===a.ImgResolution.FHD){K.width=1920;K.height=1080}else{K.width=1280;K.height=720}}G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"captureScreen",parameters:K,onSuccess:function(L){l("On Success");if(L.returnValue===true){H({data:L.data,size:L.size,encoding:L.encoding})}else{I({errorCode:L.errorCode,errorText:L.errorText})}},onFailure:function(L){l("On Failure");I({errorCode:L.errorCode,errorText:L.errorText})}})};a.prototype.setIntelligentAuto=function(I,J,K){l("setIntelligentAuto: "+K.enabled);if(K.enabled===null&&typeof J==="function"){var H={};r(H,"SSIA","Signage.setIntelligentAuto returns failure. command was not defined.");J(H);l("Signage.setIntelligentAuto invalid ");return}G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{intelligentAuto:(K.enabled===true)?"on":"off"}},onSuccess:function(L){l("setIntelligentAuto: On Success");if(L.returnValue===true){if(typeof I==="function"){I()}}},onFailure:function(L){l("setIntelligentAuto: On Failure");delete L.returnValue;if(typeof J==="function"){r(L,"SSIA","Signage.setIntelligentAuto returns failure.");J(L)}}});l("Signage.setIntelligentAuto Done")};a.prototype.getIntelligentAuto=function(H,I){l("getIntelligentAuto: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["intelligentAuto"]},onSuccess:function(J){l("getIntelligentAuto: On Success");if(J.returnValue===true){var K={};K.enabled=J.settings.intelligentAuto;if(typeof H==="function"){H(K)}}},onFailure:function(J){l("getIntelligentAuto: On Failure");delete J.returnValue;if(typeof I==="function"){r(J,"SGIA","Signage.getIntelligentAuto returns failure.");I(J)}}});l("Signage.getIntelligentAuto Done")};a.prototype.setStudioMode=function(I,J,K){l("setStudioMode: "+K.enabled);if(K.enabled===null&&typeof J==="function"){var H={};r(H,"SSSM","Signage.setStudioMode returns failure. command was not defined.");J(H);l("Signage.setStudioMode invalid ");return}G.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"version",onSuccess:function(M){if(M.returnValue===true){var L=M.version;if(L[0]==="1"&&L[2]==="5"){var N={};r(N,"ERROR","This function is not supported");J(N);return}else{G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{studioMode:(K.enabled===true)?"on":"off"}},onSuccess:function(O){l("setStudioMode: On Success");if(O.returnValue===true){if(typeof I==="function"){I()}}},onFailure:function(O){l("setStudioMode: On Failure");delete O.returnValue;if(typeof J==="function"){r(O,"SSSM","Signage.setStudioMode returns failure.");J(O)}}})}}},onFailure:function(L){delete L.returnValue;if(typeof J==="function"){r(L,"SSSM","Signage.setStudioMode returns failure.");J(L)}}});l("Signage.setStudioMode Done")};a.prototype.getStudioMode=function(H,I){l("getStudioMode: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"version",onSuccess:function(K){if(K.returnValue===true){var J=K.version;if(J[0]==="1"&&J[2]==="5"){var L={};r(L,"ERROR","This function is not supported");I(L);return}else{G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["studioMode"]},onSuccess:function(M){l("getStudioMode: On Success");if(M.returnValue===true){var N={};N.enabled=(M.settings.studioMode==="on")?true:false;if(typeof H==="function"){H(N)}}},onFailure:function(M){l("getStudioMode: On Failure");delete M.returnValue;if(typeof I==="function"){r(M,"SGSM","Signage.getStudioMode returns failure.");I(M)}}})}}},onFailure:function(J){delete J.returnValue;if(typeof I==="function"){r(J,"SGSM","Signage.getStudioMode returns failure.");I(J)}}});l("Signage.getStudioMode Done")};a.prototype.setLanDaisyChain=function(H,I,J){G.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:["commercial.hw.lanDaisyChain"]},onSuccess:function(K){if(K.returnValue===true){if(K.configs["commercial.hw.lanDaisyChain"]===false){r(K,"SSLD","Signage.setLanDaisyChain returns failure. unsupported feature. ");I(K);l("Signage.setLanDaisyChain invalid ");return}else{if(J.enabled===null&&typeof I==="function"){var K={};r(K,"SSLD","Signage.setLanDaisyChain returns failure. command was not defined.");I(K);l("Signage.setLanDaisyChain invalid ");return}l("setLanDaisyChain: "+J.enabled);G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{lanDaisyChain:(J.enabled===true)?"on":"off"}},onSuccess:function(L){l("setLanDaisyChain: On Success");if(L.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(L){l("setLanDaisyChain: On Failure");delete L.returnValue;if(typeof I==="function"){r(L,"SSIA","Signage.setLanDaisyChain returns failure.");I(L)}}});l("Signage.setLanDaisyChain Done")}}},onFailure:function(K){delete K.returnValue;if(typeof I==="function"){I(K)}}})};a.prototype.getLanDaisyChain=function(H,I){G.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:["commercial.hw.lanDaisyChain"]},onSuccess:function(J){if(J.returnValue===true){if(J.configs["commercial.hw.lanDaisyChain"]===false){r(J,"SSLD","Signage.getLanDaisyChain returns failure. unsupported feature. ");I(J);l("Signage.getLanDaisyChain invalid ");return}else{l("getLanDaisyChain: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["lanDaisyChain"]},onSuccess:function(K){l("getLanDaisyChain: On Success");if(K.returnValue===true){var L={};L.enabled=(K.settings.lanDaisyChain==="on")?true:false;if(typeof H==="function"){H(L)}}},onFailure:function(K){l("getLanDaisyChain: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SSLD","Signage.getLanDaisyChain returns failure.");I(K)}}});l("Signage.getLanDaisyChain Done")}}},onFailure:function(J){delete J.returnValue;if(typeof I==="function"){I(J)}}})};a.prototype.registerRS232CEventListener=function(H,I,J){if(typeof J.eventListener!=="function"){var K={errorCode:"BAD_PARAMETER",errorText:"No event listener was given or event listener is not a function"};I(K);return false}h(H,I,J.eventListener)};a.prototype.unregisterRS232CEventListener=function(H,I){if(j("RS232C")===false){if(typeof I==="function"){I({errorCode:"BAD_PARAMETER",errorText:"Failed to remove event listener"})}return}else{G.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"systemMonitor/stopMonitorRS232C",parameters:{},onSuccess:function(J){l("On Success");if(J.returnValue===true){if(typeof H==="function"){H()}}else{if(typeof I==="function"){I(J)}}},onFailure:function(J){l("On Failure");delete J.returnValue;if(typeof I==="function"){I(J)}}})}};a.prototype.addEventListener=s;a.prototype.removeEventListener=A;a.prototype.getNoSignalImageMode=function(H,I){l("getnoSignalImage: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"getNoSignalImageMode",onSuccess:function(J){l("getNoSignalImage: On Success");if(J.returnValue===true){var K={};K.enabled=(J.noSignalImage==="on")?"on":"off";if(typeof H==="function"){H(K)}}},onFailure:function(J){l("getNoSignalImage: On Failure");delete J.returnValue;if(typeof I==="function"){r(J,"SGSI","Signage.getNoSignalImage returns failure.");I(J)}}});l("Signage.getNoSignalImageMode Done")};a.prototype.setNoSignalImageMode=function(H,I,J){l("setNoSignalImageMode: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"setNoSignalImageMode",parameters:{noSignalImageMode:J.noSignalImageMode},onSuccess:function(K){l("setNoSignalImageMode: On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(K){l("setNoSignalImageMode: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SSSI","Signage.setNoSignalImageMode returns failure.");I(K)}}});l("Signage.setNoSignalImageMode Done")};a.prototype.updateNoSignalImageList=function(H,I,J){l("updateNoSingalImageList");G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"updateNoSignalImageList",parameters:J,onSuccess:function(K){l("updateNoSignalImageList: On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(K){l("updateNoSignalImageList: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SUNSIL","Signage.updateNoSignalImageList returns failure.");I(K)}}});l("Signage.updateNoSignalImageList Done")};a.prototype.resetNoSignalImage=function(H,I){l("resetNoSignalImage: ");G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"resetNoSignalImage",onSuccess:function(J){l("resetNoSignalImage: On Success");if(J.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(J){l("resetNoSignalImage: On Failure");delete J.returnValue;if(typeof I==="function"){r(J,"SRNSI","Signage.resetNoSignalImage returns failure.");I(J)}}});l("Signage.resetNoSignalImage Done")};a.prototype.addKeyItem=function(H,I,J){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"addKeyItem",parameters:J,onSuccess:function(K){l("addKeyItem: On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(K){l("addKeyItem: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SAKI","Signage.addKeyItem returns failure.");I(K)}}});l("Signage.addKeyItem Done")};a.prototype.clearKeyTable=function(H,I){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"clearKeyTable",onSuccess:function(J){l("clearKeyTable: On Success");if(J.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(J){l("clearKeyTable: On Failure");delete J.returnValue;if(typeof I==="function"){r(J,"SCKT","Signage.clearKeyTable returns failure.");I(J)}}});l("Signage.clearKeyTable Done")};a.prototype.removeKeyItem=function(H,I,J){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"removeKeyItem",parameters:J,onSuccess:function(K){l("removeKeyItem: On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(K){l("removeKeyItem: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SAKI","Signage.removeKeyItem returns failure.");I(K)}}});l("Signage.removeKeyItem Done")};a.prototype.sendKey=function(H,I,J){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage/",{method:"sendKey",parameters:J,onSuccess:function(K){l("sendKey: On Success");if(K.returnValue===true){if(typeof H==="function"){H()}}},onFailure:function(K){l("sendKey: On Failure");delete K.returnValue;if(typeof I==="function"){r(K,"SSKY","Signage.sendKey returns failure.");I(K)}}});l("Signage.sendKey Done")};a.prototype.getMirrorMode=function(H,I){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage",{method:"getMirrorMode",parameters:{},onSuccess:function(J){delete J.returnValue;if(typeof H==="function"){H(J)}},onFailure:function(J){delete J.returnValue;if(typeof I==="function"){I(J)}}})};a.prototype.setMirrorMode=function(H,I,J){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage",{method:"setMirrorMode",parameters:J,onSuccess:function(){if(typeof H==="function"){H()}},onFailure:function(K){delete K.returnValue;if(typeof I==="function"){I(K)}}})};a.prototype.getSimplinkStatus=function(H,I){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage",{method:"getSimplinkStatus",parameters:{},onSuccess:function(J){delete J.returnValue;if(typeof H==="function"){H(J)}},onFailure:function(J){delete J.returnValue;if(typeof I==="function"){I(J)}}})};a.prototype.setSimplinkStatus=function(H,I,J){G.Request("luna://com.webos.service.commercial.signage.storageservice/signage",{method:"setSimplinkStatus",parameters:J,onSuccess:function(){if(typeof H==="function"){H()}},onFailure:function(K){delete K.returnValue;if(typeof I==="function"){I(K)}}})};c.exports=a});Signage=cordova.require("cordova/plugin/signage");
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/sound",function(c,e,b){function d(k){}var f;if(window.PalmSystem){d("Window.PalmSystem Available");f=c("cordova/plugin/webos/service")}else{f={Request:function(k,l){d(k+" invoked. But I am a dummy because PalmSystem is not available");if(typeof l.onFailure==="function"){l.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var h=function(){};function i(l,m,k){if(l.errorCode===undefined||l.errorCode===null){l.errorCode=m}if(l.errorText===undefined||l.errorText===null){l.errorText=k}}var g=null;var a={};function j(k){if(g===null){f.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion","boardType"]},onSuccess:function(l){d("getPlatformInfo: onSuccess");d("version : "+l.sdkVersion);var m=l.sdkVersion.split(".");if(m.length>=1&&m[0]==="1"){a={webOSVer:1,chipset:l.boardType.split("_")[0]}}else{if(m.length>=1&&m[0]==="2"){a={webOSVer:2,chipset:l.boardType.split("_")[0]}}else{if(m.length>=1&&m[0]==="3"){a={webOSVer:3,chipset:l.boardType.split("_")[0]}}else{a={webOSVer:0,chipset:""}}}}g=a.webOSVer;k(a)},onFailure:function(l){d("getPlatformInfo: onFailure");a={webOSVer:0,chipset:""};k(a)}})}else{k(a)}}h.SoundMode={Standard:"standard",Cinema:"movie",ClearVoice:"news",Sports:"sports",Music:"music",Game:"game"};h.SpeakerType={SignageSpeaker:"tv_speaker",LGSoundSync:"bt_soundbar"};h.prototype.getSoundStatus=function(k,l){d("getSoundStatus: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"version",onSuccess:function(n){if(n.returnValue===true){var m=n.version;var o="";if(m[0]==="1"&&m[2]==="5"){o="com.webos.surfacemanager.supportCommerSoundSetting"}else{o="tv.model.supportCommerSoundSetting"}f.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:[o]},onSuccess:function(p){d("getConfigs: On Success");if(p.returnValue===true){var q=p.configs[o];f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["extSpkVolumeControl"]},onSuccess:function(r){if(r.returnValue===true){var s=r.settings.extSpkVolumeControl;if((q===true)||(q===false&&s==="1")){f.Request("luna://com.webos.audio/",{method:"getVolume",onSuccess:function(t){d("getSoundStatus: On Success");if(t.returnValue===true){var u={};u.level=t.volume;u.muted=t.muted;f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["enableSpeaker"]},onSuccess:function(v){d("getSoundStatus: On Success 2");if(v.returnValue===true){u.externalSpeaker=(v.settings.enableSpeaker==="on"?true:false);if(typeof k==="function"){k(u)}}},onFailure:function(v){if(typeof k==="function"){k(u)}}})}},onFailure:function(t){d("getSoundStatus: On Failure");delete t.returnValue;if(typeof l==="function"){i(t,"SGSS","Sound.getSoundStatus returns failure.");l(t)}}})}else{delete r.returnValue;if(typeof l==="function"){i(r,"SGSS","unsupported feature");l(r)}}}},onFailure:function(r){delete r.returnValue;if(typeof l==="function"){i(r,"SGSS","Sound.getSoundStatus returns failure");l(r)}}})}},onFailure:function(p){d("getConfigs: On Failure");delete p.returnValue;if(typeof l==="function"){i(p,"SGSS","Sound.getSoundStatus returns failure.");l(p)}}})}},onFailure:function(m){delete m.returnValue;if(typeof l==="function"){i(m,"SGSS","Sound.getSoundStatus returns failure.");l(m)}}});d("Sound.getSoundStatus Done")};h.prototype.setVolumeLevel=function(l,m,n){d("setVolumeLevel: "+JSON.stringify(n));if(typeof n.level!=="number"||isNaN(n.level)||n.level<0||n.level>100){if(typeof m==="function"){var k={};i(k,"SSVL","Sound.setVolumeLevel returns failure. out of range or invalid parameter type.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/sound/",{method:"setVolumeLevel",parameters:n,onSuccess:function(o){d("setVolumeLevel success");l()},onFailure:function(o){delete o.returnValue;if(typeof m==="function"){i(o,"SSVL","Sound.setVolumeLevel returns failure.");m(o)}}});d("Sound.setVolumeLevel Done")};h.prototype.setExternalSpeaker=function(l,m,o){d("setExternalSpeaker: "+JSON.stringify(o));if(typeof o.externalSpeaker!=="boolean"){if(typeof m==="function"){var k={};i(k,"SSVL","Sound.setExternalSpeaker returns failure. out of range or invalid parameter type.");m(k)}return}var n=null;switch(o.externalSpeaker){case true:n="on";break;case false:n="off";break}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{enableSpeaker:n}},onSuccess:function(){d("setExternalSpeaker: On Success");if(typeof l==="function"){l()}},onFailure:function(p){d("setExternalSpeaker: On Failure");delete p.returnValue;if(typeof m==="function"){i(p,"SSES","Sound.setExternalSpeaker returns failure.");m(p)}}});d("Sound.setExternalSpeaker Done")};h.prototype.setMuted=function(l,m,n){d("setMuted: "+JSON.stringify(n));if(typeof n.muted!=="boolean"){if(typeof m==="function"){var k={};i(k,"SSM","Sound.setMuted returns failure. out of range or invalid parameter type.");m(k)}return}f.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"version",onSuccess:function(p){var o=p.version;var q="";if(o[0]==="1"&&o[2]==="5"){q="com.webos.surfacemanager.supportCommerSoundSetting"}else{q="tv.model.supportCommerSoundSetting"}f.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:[q]},onSuccess:function(r){d("getConfigs: On Success");if(r.returnValue===true){var s=r.configs[q];f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["extSpkVolumeControl"]},onSuccess:function(t){if(t.returnValue===true){var u=t.settings.extSpkVolumeControl;if((s===true)||(s===false&&u==="1")){f.Request("luna://com.webos.audio/",{method:"setMuted",parameters:{muted:n.muted},onSuccess:function(v){d("setMuted: On Success");if(v.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(v){d("setMuted: On Failure");delete v.returnValue;if(typeof m==="function"){i(v,"SSM","Sound.setMuted returns failure.");m(v)}}})}else{delete t.returnValue;if(typeof m==="function"){i(t,"SSM","unsupported feature");m(t)}return}}},onFailure:function(t){delete t.returnValue;if(typeof m==="function"){i(t,"SSM","Sound.setMuted returns failure");m(t)}}})}},onFailure:function(r){d("getConfigs: On Failure");delete r.returnValue;if(typeof m==="function"){i(r,"SSM","Sound.setMuted returns failure");m(r)}}})},onFailure:function(o){delete o.returnValue;if(typeof m==="function"){i(o,"SSM","Sound.setMuted returns failure.");m(o)}}});d("Sound.setMuted Done")};h.prototype.setSoundMode=function(l,m,n){var o=null;switch(n.mode){case h.SoundMode.Standard:o="standard";break;case h.SoundMode.Cinema:o="movie";break;case h.SoundMode.ClearVoice:o="news";break;case h.SoundMode.Sports:o="sports";break;case h.SoundMode.Music:o="music";break;case h.SoundMode.Game:o="game";break}if(((n.balance<-50)||(n.balance>50))&&isNumber(n.balance)){var k={};i(k,"SSSM","Sound.setSoundMode returns failure. Out of range.");m(k);d("Sound.setSoundMode invalid range")}d("setSoundMode: "+o);if(o===null&&typeof m==="function"){var k={};i(k,"SSSM","Sound.setSoundMode returns failure. command was not defined.");m(k);d("Sound.setSoundMode invalid ");return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"sound",settings:{soundMode:o,audioBalance:n.balance}},onSuccess:function(p){d("setSoundMode: On Success");if(p.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(p){d("setSoundMode: On Failure");delete p.returnValue;if(typeof m==="function"){i(p,"SSSM","Sound.setSoundMode returns failure.");m(p)}}});d("Sound.setSoundMode Done")};h.prototype.getSoundMode=function(k,l){d("getSoundMode: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"sound",keys:["soundMode","audioBalance"]},onSuccess:function(m){d("getSoundMode: On Success");if(m.returnValue===true){var n={};n.mode=m.settings.soundMode;n.balance=m.settings.audioBalance;if(typeof k==="function"){k(n)}}},onFailure:function(m){d("getSoundMode: On Failure");delete m.returnValue;if(typeof l==="function"){i(m,"SGSM","Sound.getSoundMode returns failure.");l(m)}}});d("Sound.getSoundMode Done")};h.prototype.setSoundOut=function(k,l,m){j(function(o){if(o.webOSVer!==3){var n={};i(n,"SSSO","Sound.setSoundOut returns failure. Only webOS 3.0 support setSoundOut API.");l(n);d("not support setSoundOut");return}f.Request("luna://com.webos.service.config/",{method:"getConfigs",parameters:{configNames:["system.supportBluetoothFeatures"]},onSuccess:function(p){d("getConfigs: On Success");if(p.returnValue===true){var r=p.configs["system.supportBluetoothFeatures"];if(r.indexOf("btsound")===-1){if(m.speakerType===h.SpeakerType.LGSoundSync){var p={};i(p,"SSSO","Sound.setSoundOut returns failure. bluetooth soundsync is not supported.");l(p);return}}var q=null;switch(m.speakerType){case h.SpeakerType.SignageSpeaker:q="tv_speaker";break;case h.SpeakerType.LGSoundSync:q="bt_soundbar";break}d("setSoundOut: "+q);if(q===null&&typeof l==="function"){var p={};i(p,"SSSO","Sound.setSoundOut returns failure. command was not defined.");l(p);d("Sound.setSoundOut invalid ");return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"sound",settings:{soundOutput:q}},onSuccess:function(s){d("setSoundOut: On Success");if(s.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(s){d("setSoundOut: On Failure");delete s.returnValue;if(typeof l==="function"){i(s,"SSSO","Sound.setSoundOut returns failure.");l(s)}}});d("Sound.setSoundOut Done")}},onFailure:function(p){d("getConfigs: On Failure");delete p.returnValue;if(typeof l==="function"){i(p,"SSSO","unsupported feature");l(p)}}})})};h.prototype.getSoundOut=function(k,l){j(function(n){if(n.webOSVer!==3){var m={};i(m,"SGSO","Sound.getSoundOut returns failure. Only webOS 3.0 support getSoundOut API.");l(m);d("not support getSoundOut");return}d("getSoundOut: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"sound",keys:["soundOutput"]},onSuccess:function(o){d("getSoundOut: On Success");if(o.returnValue===true){var p={};p.speakerType=o.settings.soundOutput;if(typeof k==="function"){k(p)}}},onFailure:function(o){d("getSoundOut: On Failure");delete o.returnValue;if(typeof l==="function"){i(o,"SGSO","Sound.getSoundOut returns failure.");l(o)}}});d("Sound.getSoundOut Done")})};b.exports=h});Sound=cordova.require("cordova/plugin/sound");
@@ -0,0 +1 @@
1
+ Storage=(function(){var e,a;function d(g){}if(typeof window==="object"){cordova.define("cordova/plugin/storage",function(h,g,i){e=function(){};if(window.PalmSystem){d("Window.PalmSystem Available");a=h("cordova/plugin/webos/service")}else{a={Request:function(j,k){d(j+" invoked. But I am a dummy because PalmSystem is not available");if(typeof k.onFailure==="function"){k.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}i.exports=e});e=cordova.require("cordova/plugin/storage")}else{e=function(g){a=g;a.Request=function(h,j){var i=h+"/"+j.method;var k={};if(j.hasOwnProperty("parameters")===true){k=j.parameters}var l={};var m=function(n){console.log("res : "+JSON.stringify(n));if(n.payload.returnValue===true){l=n.payload;j.onSuccess(l)}else{l.returnValue=false;l.errorCode=n.payload.errorCode;l.errorText=n.payload.errorText;j.onFailure(l)}};if(a){a.call(i,k,m)}}};module.exports=e}function c(h,i,g){if(h.errorCode===undefined||h.errorCode===null){h.errorCode=i}if(h.errorText===undefined||h.errorText===null){h.errorText=g}}function f(g){if(g){if(g.indexOf("://")===-1){d("INVALID URI"+g);return false}else{d("GOOD URI");return true}}else{d("NO URI"+g);return false}}Error.ERROR_CODE={IO_ERROR:"IO_ERROR",DEVICE_ERROR:"DEVICE_ERROR",BAD_PARAMETER:"BAD_PARAMETER",SERVER_ERROR:"SERVER_ERROR",NETWORK_ERROR:"NETWORK_ERROR",SYSTEM_ERROR:"SYSTEM_ERROR",};e.SCAP_URI="";e.MAX_BUFFER_LENGTH=1024*10;e.AppMode={USB:"usb",LOCAL:"local"};e.AppType={IPK:"ipk",ZIP:"zip"};e.FileSystem={FAT32:"tfat",NTFS:"tntfs"};e.prototype.downloadFirmware=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"downloadFirmware",parameters:{uri:i.uri},onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.upgradeFirmware=function(g,h,i){var j={};if(i!==null&&typeof i!=="undefined"){j.path=i.path}a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"upgradeFirmware",parameters:j,onSuccess:function(k){if(k.returnValue===true){g()}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.getFirmwareUpgradeStatus=function(g,h){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getFirmwareUpgradeStatus",parameters:{},onSuccess:function(i){if(i.returnValue===true){g({status:i.status,upgradeProgress:i.upgradeProgress,downloadProgress:i.downloadProgress})}else{h({errorCode:i.errorCode,errorText:i.errorText})}},onFailure:function(i){h({errorCode:i.errorCode,errorText:i.errorText})}})};e.prototype.changeLogoImage=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"changeLogoImage",parameters:{uri:i.uri},onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.upgradeApplication=function(g,h,i){var j={from:"remote",to:(i===undefined||i===null?e.AppMode.LOCAL:i.to),recovery:(i===undefined||i===null?false:i.recovery),};if(i.hasOwnProperty("type")===true&&i.type!==undefined){j.type=i.type}a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"upgradeApplication",parameters:j,onSuccess:function(k){if(k.returnValue===true){g()}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.removeApplication=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"removeApplication",parameters:{to:i.to},onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.copyFile=function(g,h,i){d("Options: "+JSON.stringify(i,null,3));if(i.maxRedirection&&i.maxRedirection>5){d("Bad options TOO MANY REDIRECTION");h({errorCode:"BAD_PARAMETER",errorText:"Redirect cannot be more that 5"});return}if(i.headers&&JSON.stringify(i.headers).length>1024){d("header too long header too long");h({errorCode:"BAD_PARAMETER",errorText:"Header data cannot be bigger than 1K"});return}if(typeof i.httpOption==="undefined"){i.httpOption={}}if(i.httpOption.headers&&JSON.stringify(i.httpOption.headers).length>1024){d("header too long header too long");h({errorCode:"BAD_PARAMETER",errorText:"Header data cannot be bigger than 1K"});return}if(i.maxRedirection||i.headers){if(i.maxRedirection&&typeof i.httpOption.maxRedirection==="undefined"){i.httpOption.maxRedirection=i.maxRedirection}if(i.headers&&typeof i.httpOption.headers==="undefined"){i.httpOption.headers=i.headers}}if(typeof i.httpOption.maxRedirection!=="undefined"){if(typeof i.maxRedirection!=="undefined"){if(i.httpOption.maxRedirection!==i.maxRedirection){h({errorCode:"BAD_PARAMETER",errorText:"Both options.httpOption.maxRedirection and options.maxRedirection are exists,but different value. What value you want to use?"});return}}else{i.maxRedirection=i.httpOption.maxRedirection}}d(i);a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/copyFile",parameters:{dest:i.destination,src:i.source,ftpOption:i.ftpOption,httpOption:i.httpOption},onSuccess:function(j){if(j.returnValue===true){d("SUCCESS");g()}else{d("Err: "+j.errorText);h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){d("Err: "+j.errorText);h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.removeFile=function(g,h,i){if(!(i&&f(i.file))){h({errorCode:"BAD_PARAMETER",errorText:"options.file is a mandatory parameter"});return}var j={file:i.file};if(i.recursive===true){j.recursive=true}a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/removeFile",parameters:j,onSuccess:function(k){d("onSuccess");if(k.returnValue===true){g()}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.listFiles=function(g,h,i){var j={};if(i&&i.path){if(f(i.path)){j.pathURI=i.path}else{h({errorCode:"BAD_PARAMETER",errorText:"File URI is not valid."});return}}else{j.pathURI="file://internal/"}a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/listFiles",parameters:j,onSuccess:function(k){if(k.returnValue===true){var m=[];for(var l=0;l<k.files.length;++l){d(k.files[l]);var o={name:k.files[l].name,type:(k.files[l].type==="folder")?"folder":"file",size:k.files[l].size};m.push(o)}var n={files:m,totalCount:k.totalCount};g(n)}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.getStorageInfo=function(g,h){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/storageInfo",parameters:{},onSuccess:function(i){d("returned : "+JSON.stringify(i,null,3));if(i.returnValue===true){d("returned : "+JSON.stringify(i,null,3));var j={free:i.spaceInfo.freeSize,total:i.spaceInfo.totalSize,used:i.spaceInfo.usedSize,externalMemory:i.externalStorage};g(j)}else{h({errorCode:i.errorCode,errorText:i.errorText})}},onFailure:function(i){h({errorCode:i.errorCode,errorText:i.errorText})}})};e.prototype.mkdir=function(g,h,i){if(!(i&&f(i.path))){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"});return}var j={pathURI:i.path};a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/mkdir",parameters:j,onSuccess:function(k){d("onSuccess");if(k.returnValue===true){g()}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.exists=function(g,h,i){if(!(i&&f(i.path))){d("BAD_PARAMETER");h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"});return}var j={pathURI:i.path};a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/exists",parameters:j,onSuccess:function(k){d("onSuccess");if(k.returnValue===true){d("returned : "+JSON.stringify(k,null,3));var l={exists:k.exists};g(l)}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.readFile=function(g,h,i){if(!i){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(!f(i.path)){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(i.length&&(i.length>e.MAX_BUFFER_LENGTH||i.length<1)){h({errorCode:"BAD_PARAMETER",errorText:"length should be > 0 and < "+e.MAX_BUFFER_LENGTH})}else{if(i.position&&(i.position<0)){h({errorCode:"BAD_PARAMETER",errorText:"position should be > 0"})}else{var j={};j.path=i.path;j.length=i.length?i.length:e.MAX_BUFFER_LENGTH;j.position=i.position?i.position:0;j.encoding=i.encoding?i.encoding:"utf-8";a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/readFile",parameters:j,onSuccess:function(k){if(k.returnValue){if(j.encoding==="binary"){var l=k.data;var n=new Uint8Array(l.length);for(var m=0;m<l.length;++m){n[m]=l[m]}g({data:n.buffer})}else{g({data:k.data})}}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){h({errorCode:k.errorCode,errorText:k.errorText})}})}}}}};e.prototype.writeFile=function(k,q,m){if(!m){q({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(!f(m.path)){q({errorCode:"BAD_PARAMETER",errorText:"options.path is a is not valid"})}else{if(!m.data){q({errorCode:"BAD_PARAMETER",errorText:"options.data is a mandatory parameter"})}else{if(m.mode&&(m.mode!=="truncate"&&m.mode!=="append"&&m.mode!=="position")){q({errorCode:"BAD_PARAMETER",errorText:"mode should be 'truncate'|'append'|'position'"})}else{if(m.position&&(m.position<0)){q({errorCode:"BAD_PARAMETER",errorText:"position should be > 0"})}else{if(m.offset&&(m.offset<0)){q({errorCode:"BAD_PARAMETER",errorText:"offset should be > 0"})}else{if(m.length&&(m.length>e.MAX_BUFFER_LENGTH||m.length<1)){q({errorCode:"BAD_PARAMETER",errorText:"length should be > 0 and < "+e.MAX_BUFFER_LENGTH})}else{if(m.encoding&&(m.encoding!=="utf8"&&m.encoding!=="binary"&&m.encoding!=="base64")){q({errorCode:"BAD_PARAMETER",errorText:"Invalid encoding: "+m.encoding})}else{d("REQUEST");var y={};y.path=m.path;y.mode=m.mode?m.mode:"truncate";y.position=m.position?m.position:0;y.encoding=m.encoding?m.encoding:"utf8";var p=m.offset?m.offset:0;if(y.encoding==="binary"){d("binary, size is: "+m.data.byteLength);var l=new Uint8Array(m.data);d("uint8View: "+l);var o=m.length?m.length:e.MAX_BUFFER_LENGTH;var u=[];var s=0;for(var x=p;x<l.length&&s<o;++x,s++){u[s]=l[x]}d("array length: "+s);y.data=u;y.length=s;y.offset=0}else{if(y.encoding==="base64"){var t=m.length?m.length:e.MAX_BUFFER_LENGTH;d("base64, size is: "+m.data.length);var g=m.data;var h=window.atob(g);var v=h.substring(p,p+t);var A=new Uint8Array(v.length);var w;for(w=0;w<v.length;w++){A[w]=v.charCodeAt(w)}var z=[];for(w=0;w<A.length;++w){z[w]=A[w]}y.data=z;y.length=z.length;y.offset=0}else{var r=m.length?m.length:e.MAX_BUFFER_LENGTH;y.data=m.data.substring(p,p+r);y.length=y.data.length;y.offset=0}}try{a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/writeFile",parameters:y,onSuccess:function(i){d("onSuccess");if(i.returnValue){k({written:i.written})}else{d("FAILED: "+i.errorText);q({errorCode:i.errorCode,errorText:i.errorText})}},onFailure:function(i){d("onFailure");d("FAILED: "+i.errorText);q({errorCode:i.errorCode,errorText:i.errorText})}})}catch(n){d("EXCEPTION"+n);q({errorCode:"STWF",errorText:"Storage.writeFile() error is occured during operation."})}}}}}}}}}};e.prototype.statFile=function(g,h,i){if(!(i&&f(i.path))){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(!i.path){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{try{a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/statFile",parameters:{path:i.path},onSuccess:function(k){d("onSuccess");if(k.returnValue){g(k.stat)}else{d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}})}catch(j){d("EXCEPTION"+j);h({errorCode:"STSF",errorText:"Storage.statFile() error is occured during operation."})}}}};e.prototype.removeAll=function(g,h,i){if(!i){h({errorCode:"BAD_PARAMETER",errorText:"options.device is a mandatory parameter"})}else{if(!i.device){h({errorCode:"BAD_PARAMETER",errorText:"options.device is a mandatory parameter"})}else{try{a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/removeAll",parameters:{device:i.device},onSuccess:function(k){d("onSuccess");if(k.returnValue){g()}else{d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}})}catch(j){d("EXCEPTION"+j);h({errorCode:"STRA",errorText:"Storage.removeAll() error is occured during operation."})}}}};e.prototype.fsync=function(g,h,i){try{var k={};if(i&&i.path){if(f(i.path)){k.path=i.path}else{h({errorCode:"BAD_PARAMETER",errorText:"Invalid File URI"});return}}a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/fsyncFile",parameters:k,onSuccess:function(l){d("onSuccess");if(l.returnValue){g()}else{d("FAILED: "+l.errorText);h({errorCode:l.errorCode,errorText:l.errorText})}},onFailure:function(l){d("onFailure");d("FAILED: "+l.errorText);h({errorCode:l.errorCode,errorText:l.errorText})}})}catch(j){d("EXCEPTION"+j);h({errorCode:"STFS",errorText:"Storage.fsync() error is occured during operation."})}};e.prototype.moveFile=function(g,h,i){if(!i){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(!f(i.oldPath)){h({errorCode:"BAD_PARAMETER",errorText:"options.oldpath is a mandatory parameter"})}else{if(!f(i.newPath)){h({errorCode:"BAD_PARAMETER",errorText:"options.newPath is a mandatory parameter"})}else{try{a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/moveFile",parameters:{oldPath:i.oldPath,newPath:i.newPath},onSuccess:function(k){d("onSuccess");if(k.returnValue){g()}else{d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailur");d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}})}catch(j){d("EXCEPTION"+j);h({errorCode:"STMF",errorText:"Storage.moveFile() error is occured during operation."})}}}}};e.prototype.unzipFile=function(g,h,i){if(!i){h({errorCode:"BAD_PARAMETER",errorText:"options.path is a mandatory parameter"})}else{if(!f(i.zipPath)){h({errorCode:"BAD_PARAMETER",errorText:"options.zipPath is a mandatory parameter"})}else{if(!f(i.targetPath)){h({errorCode:"BAD_PARAMETER",errorText:"options.targetPath is a mandatory parameter"})}else{try{a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/unzip",parameters:{zipPath:i.zipPath,targetPath:i.targetPath},onSuccess:function(k){d("onSuccess");if(k.returnValue){g()}else{d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){d("onFailure");d("FAILED: "+k.errorText);h({errorCode:k.errorCode,errorText:k.errorText})}})}catch(j){d("EXCEPTION"+j);h({errorCode:"STUF",errorText:"Storage.unzipFile() error is occured during operation."})}}}}};e.prototype.getMD5Hash=function(g,h,i){d("getMD5Hash: ");if(!(i&&f(i.filePath))){h({errorCode:"BAD_PARAMETER",errorText:"options.filePath is a mandatory parameter"});return}a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/getMD5Hash",parameters:{filePath:i.filePath},onSuccess:function(j){if(typeof g==="function"){delete j.returnValue;g(j)}},onFailure:function(j){d("getMD5Hash: onFailure");delete j.returnValue;if(typeof h==="function"){h(j)}}});d("Storage.getMD5Hash Done")};e.prototype.decryptFile=function(g,h,i){d("decryptFile: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/decryptFile",parameters:{cipher_mode:i.cipher_mode,password:i.password,inputPath:i.inputPath,outputFileName:i.outputFileName},onSuccess:function(j){if(typeof g==="function"){delete j.returnValue;g(j)}},onFailure:function(j){d("decryptFile: onFailure");delete j.returnValue;if(typeof h==="function"){h(j)}}});d("Storage.decryptFile Done")};e.prototype.formatUSB=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/formatUSB",parameters:i,onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.getUSBInfo=function(g,h){a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/getUSBInfo",parameters:{},onSuccess:function(i){if(i.returnValue===true){g({usbList:i.usbList})}else{h({errorCode:i.errorCode,errorText:i.errorText})}},onFailure:function(i){h({errorCode:i.errorCode,errorText:i.errorText})}})};e.prototype.importSettingData=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/importSettingData",parameters:i,onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.exportSettingData=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"fs/exportSettingData",parameters:i,onSuccess:function(j){if(j.returnValue===true){g()}else{h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){h({errorCode:j.errorCode,errorText:j.errorText})}})};e.prototype.downloadFile=function(g,h,i){a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/downloadFile",parameters:i,onSuccess:function(j){if(j.returnValue===true){d("SUCCESS");delete j.returnValue;g(j)}else{d("Err: "+j.errorText);h({errorCode:j.errorCode,errorText:j.errorText})}},onFailure:function(j){d("Err: "+j.errorText);h({errorCode:j.errorCode,errorText:j.errorText})}})};var b=function(g,h,i){var j=a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"fs/getDownloadFileStatus",parameters:i,onSuccess:function(k){if(k.returnValue===true){delete k.returnValue;g(k);if(k.status==="completed"||k.status==="cancelled"||k.status==="failed"){j.cancel()}}else{h({errorCode:k.errorCode,errorText:k.errorText})}},onFailure:function(k){h({errorCode:k.errorCode,errorText:k.errorText})}})};e.prototype.getDownloadFileStatus=function(g,h,i){b(g,h,i)};return e}());
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/time",function(c,e,b){function d(k){}var f;if(window.PalmSystem){d("Window.PalmSystem Available");f=c("cordova/plugin/webos/service")}else{f={Request:function(k,l){d(k+" invoked. But I am a dummy because PalmSystem is not available");if(typeof l.onFailure==="function"){l.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var g=function(){};function i(l,m,k){if(l.errorCode===undefined||l.errorCode===null){l.errorCode=m}if(l.errorText===undefined||l.errorText===null){l.errorText=k}}var h=null;var a={};function j(k){if(h===null){f.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion","boardType"]},onSuccess:function(l){d("getPlatformInfo: onSuccess");d("version : "+l.sdkVersion);var m=l.sdkVersion.split(".");if(m.length>=1&&m[0]==="1"){a={webOSVer:1,chipset:l.boardType.split("_")[0]}}else{if(m.length>=1&&m[0]==="2"){a={webOSVer:2,chipset:l.boardType.split("_")[0]}}else{if(m.length>=1&&m[0]==="3"){a={webOSVer:3,chipset:l.boardType.split("_")[0]}}else{a={webOSVer:0,chipset:""}}}}h=a.webOSVer;k(a)},onFailure:function(l){d("getPlatformInfo: onFailure");a={webOSVer:0,chipset:""};k(a)}})}else{k(a)}}g.prototype.setHolidayScheduleMode=function(l,m,o){d("setHolidayScheduleMode: "+o.enabled);var n={};i(n,"ERROR","This function is not supported");m(n);return;if(o.enabled===null&&typeof m==="function"){var k={};i(k,"TSHM","Time.setHolidayScheduleMode returns failure. command was not defined.");m(k);d("Time.setHolidayScheduleMode invalid ");return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{holidayScheduleMode:(o.enabled===true)?"on":"off"}},onSuccess:function(p){d("setHolidayScheduleMode: On Success");if(p.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(p){d("setHolidayScheduleMode: On Failure");delete p.returnValue;if(typeof m==="function"){i(p,"TSHM","Time.setHolidayScheduleMode returns failure.");m(p)}}});d("Time.setHolidayScheduleMode Done")};g.prototype.getHolidayScheduleMode=function(k,l){d("getHolidayScheduleMode: ");var m={};i(m,"ERROR","This function is not supported");l(m);return;f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["holidayScheduleMode"]},onSuccess:function(n){d("getHolidayScheduleMode: On Success");if(n.returnValue===true){var o={};o.enabled=(n.settings.holidayScheduleMode==="on")?true:false;if(typeof k==="function"){k(o)}}},onFailure:function(n){d("getHolidayScheduleMode: On Failure");delete n.returnValue;if(typeof l==="function"){i(n,"TGHM","Time.getHolidayScheduleMode returns failure.");l(n)}}});d("Time.getHolidayScheduleMode Done")};g.prototype.addHolidaySchedule=function(n,o,q){d("addHolidaySchedule: startMonth : "+q.startMonth+", startDay : "+q.startDay+", endMonth : "+q.endMonth+", endDay : "+q.endDay);var p={};i(p,"ERROR","This function is not supported");o(p);return;var m=new Date((new Date()).getFullYear(),q.startMonth-1,q.startDay,0,0);var l=new Date((new Date()).getFullYear(),q.endMonth-1,q.endDay,0,0);if(typeof o==="function"){if(typeof q.startMonth!=="number"||typeof q.startDay!=="number"||isNaN(q.startMonth)||isNaN(q.startDay)||typeof q.endMonth!=="number"||typeof q.endDay!=="number"||isNaN(q.endMonth)||isNaN(q.endDay)){var k={};i(k,"TAHS","Time.addHolidaySchedule returns failure. parmas are not valid.");o(k);return}if(m.getMonth()!==q.startMonth-1||m.getDate()!==q.startDay||l.getMonth()!==q.endMonth-1||l.getDate()!==q.endDay){var k={};i(k,"TAHS","Time.addHolidaySchedule returns failure for out of range.");o(k);return}if(m.getTime()>l.getTime()){var k={};i(k,"TAHS","Time.addHolidaySchedule returns failure. schedule is not valid.");o(k);return}}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["holidaySchedule"]},onSuccess:function(r){d("getHolidaySchedule: On Success");if(r.returnValue===true){if(typeof n==="function"){var v={};var u=null;var t=null;var w=r.settings.holidaySchedule;if(w.length>=7){var r={};i(r,"TAHS","Time.addHolidaySchedule returns failure. schedule list is full");o(r);return}for(var s=0;s<w.length;s++){u=new Date((new Date()).getFullYear(),w[s].startMonth-1,w[s].startDay,0,0);t=new Date((new Date()).getFullYear(),w[s].endMonth-1,w[s].endDay,0,0);if(((u.getTime()<=m.getTime())&&(t.getTime()>m.getTime()))||((u.getTime()<l.getTime())&&(t.getTime()>=l.getTime()))||((u.getTime()===m.getTime())&&(t.getTime()===l.getTime()))||((m.getTime()===l.getTime())&&(t.getTime()===m.getTime()))){var r={};i(r,"TAHS","Time.addHolidaySchedule returns failure. schedule is not valid");o(r);return}}v.startMonth=q.startMonth;v.startDay=q.startDay;v.endMonth=q.endMonth;v.endDay=q.endDay;w.push(v);d("scheduleList : "+JSON.stringify(w));f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{holidaySchedule:w}},onSuccess:function(x){d("addHolidaySchedule: On Success");if(x.returnValue===true){if(typeof n==="function"){n()}}},onFailure:function(x){d("addHolidaySchedule: On Failure");delete x.returnValue;if(typeof o==="function"){i(x,"TAHS","Time.addHolidaySchedule returns failure.");o(x)}}})}}},onFailure:function(r){d("addHolidaySchedule: On Failure");delete r.returnValue;if(typeof o==="function"){i(r,"TAHS","Time.addHolidaySchedule returns failure.");o(r)}}});d("Time.addHolidaySchedule Done")};g.prototype.delHolidaySchedule=function(l,m,o){d("delHolidaySchedule: id : "+o.scheduleId);var n={};i(n,"ERROR","This function is not supported");m(n);return;if((typeof o.scheduleId!=="string"||o.scheduleId===undefined||o.scheduleId===null)&&typeof m==="function"){var k={};i(k,"TDHS","Time.delHolidaySchedule returns failure. scheduleId is not valid.");m(k);d("Time.delHolidaySchedule invalid ");return}f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["holidaySchedule"]},onSuccess:function(p){d("getHolidaySchedule: On Success");if(p.returnValue===true){if(typeof l==="function"){var t=null;var s=[];var q=false;t=p.settings.holidaySchedule;d("before scheduleList : "+JSON.stringify(t));for(var r=0;r<t.length;r++){if(t[r]._id===o.scheduleId){q=true}else{s.push(t[r])}}if(q===false&&typeof m==="function"){var p={};i(p,"TDHS","Time.delHolidaySchedule returns failure. can not find schedule id.");m(p);d("Time.delHolidaySchedule invalid ");return}d("after scheduleList : "+JSON.stringify(s));f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{holidaySchedule:s}},onSuccess:function(u){d("delHolidaySchedule: On Success");if(u.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(u){d("delHolidaySchedule: On Failure");delete u.returnValue;if(typeof m==="function"){i(u,"TDHS","Time.delHolidaySchedule returns failure.");m(u)}}})}}},onFailure:function(p){d("delHolidaySchedule: On Failure");delete p.returnValue;if(typeof m==="function"){i(p,"TDHS","Time.delHolidaySchedule returns failure.");m(p)}}});d("Time.delHolidaySchedule Done")};g.prototype.delAllHolidaySchedules=function(k,l){d("delAllHolidaySchedules: ");var m={};i(m,"ERROR","This function is not supported");l(m);return;f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{holidaySchedule:[]}},onSuccess:function(n){d("delAllHolidaySchedules: On Success");if(n.returnValue===true){if(typeof k==="function"){k()}}},onFailure:function(n){d("delAllHolidaySchedules: On Failure");delete n.returnValue;if(typeof l==="function"){i(n,"TDAS","Time.delAllHolidaySchedules returns failure.");l(n)}}});d("Time.delAllHolidaySchedules Done")};g.prototype.getAllHolidaySchedules=function(k,l){d("getAllHolidaySchedules: ");var m={};i(m,"ERROR","This function is not supported");l(m);return;f.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["holidaySchedule"]},onSuccess:function(n){d("getHolidaySchedule: On Success");if(n.returnValue===true){if(typeof k==="function"){var o={};o.holidayScheduleList=n.settings.holidaySchedule;if(typeof k==="function"){k(o)}}}},onFailure:function(n){d("getAllHolidaySchedules: On Failure");delete n.returnValue;if(typeof l==="function"){i(n,"TGAS","Time.getAllHolidaySchedules returns failure.");l(n)}}});d("Time.getAllHolidaySchedules Done")};g.prototype.getHolidaySchedule=function(k,l){d("getHolidaySchedule: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"getHolidaySchedule",parameters:{},onSuccess:function(m){d("getHolidaySchedule: On Success");if(m.returnValue===true){if(typeof k==="function"){var n={};n.holidayScheduleList=m.settings.holidaySchedule;if(typeof k==="function"){k(n)}}}},onFailure:function(m){d("getHolidaySchedule: On Failure");delete m.returnValue;if(typeof l==="function"){i(m,"TGAS","Time.getHolidaySchedule returns failure.");l(m)}}});d("Time.getHolidaySchedule Done")};g.prototype.setHolidaySchedule=function(k,l,m){d("setHolidaySchedule: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"setHolidaySchedule",parameters:m,onSuccess:function(n){d("setHolidaySchedule: On Success");if(n.returnValue===true){if(typeof k==="function"){if(typeof k==="function"){k()}}}},onFailure:function(n){d("setHolidaySchedule: On Failure");delete n.returnValue;if(typeof l==="function"){i(n,"TGAS","Time.setHolidaySchedule returns failure.");l(n)}}});d("Time.setHolidaySchedule Done")};g.prototype.unsetHolidaySchedule=function(k,l){d("unsetHolidaySchedule: ");f.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"unsetHolidaySchedule",parameters:{},onSuccess:function(m){d("unsetHolidaySchedule: On Success");if(m.returnValue===true){if(typeof k==="function"){if(typeof k==="function"){k()}}}},onFailure:function(m){d("unsetHolidaySchedule: On Failure");delete m.returnValue;if(typeof l==="function"){i(m,"TGAS","Time.unsetHolidaySchedule returns failure.");l(m)}}});d("Time.unsetHolidaySchedule Done")};b.exports=g});Time=cordova.require("cordova/plugin/time");
@@ -0,0 +1 @@
1
+ Utility=(function(){var b,a;function d(e){}if(typeof window==="object"){cordova.define("cordova/plugin/utility",function(f,e,g){b=function(){};if(window.PalmSystem){d("Window.PalmSystem Available");a=f("cordova/plugin/webos/service")}else{a={Request:function(h,i){d(h+" invoked. But I am a dummy because PalmSystem is not available");if(typeof i.onFailure==="function"){i.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}g.exports=b});b=cordova.require("cordova/plugin/utility")}else{b=function(e){a=e;a.Request=function(f,h){var g=f+"/"+h.method;var i={};if(h.hasOwnProperty("parameters")===true){i=h.parameters}var j={};var k=function(l){console.log("res : "+JSON.stringify(l));if(l.payload.returnValue===true){j=l.payload;h.onSuccess(j)}else{j.returnValue=false;j.errorCode=l.payload.errorCode;j.errorText=l.payload.errorText;h.onFailure(j)}};if(a){a.call(g,i,k)}}};module.exports=b}function c(f,g,e){if(f.errorCode===undefined||f.errorCode===null){f.errorCode=g}if(f.errorText===undefined||f.errorText===null){f.errorText=e}}b.prototype.createToast=function(f,g,h){d("createToast: "+h.msg);if(h.msg===null&&typeof g==="function"){var e={};c(e,"UTCT","Utility.createToast returns failure. command was not defined.");g(e);d("Utility.createToast invalid ");return}a.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"createToast",parameters:{text:h.msg},onSuccess:function(i){d("createToast: On Success");if(i.returnValue===true){if(typeof f==="function"){d("call successCallback");f()}}},onFailure:function(i){d("createToast: On Failure");delete i.returnValue;if(typeof g==="function"){c(i,"UTCT","Utility.createToast returns failure.");1;g(i)}}});d("Utility.createToast Done")};return b}());
@@ -0,0 +1 @@
1
+ cordova.define("cordova/plugin/video",function(c,e,b){function d(j){}var f;if(window.PalmSystem){d("Window.PalmSystem Available");f=c("cordova/plugin/webos/service")}else{f={Request:function(j,k){d(j+" invoked. But I am a dummy because PalmSystem is not available");if(typeof k.onFailure==="function"){k.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}var i=function(){};function g(k,l,j){if(k.errorCode===undefined||k.errorCode===null){k.errorCode=l}if(k.errorText===undefined||k.errorText===null){k.errorText=j}}var a={webOSVer:-1,chipset:"undefined"};function h(j){if(a.webOSVer===-1){f.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion","boardType"]},onSuccess:function(k){var l=k.sdkVersion.split(".");if(l.length>=1&&l[0]==="1"){a={webOSVer:1,chipset:k.boardType.split("_")[0]}}else{if(l.length>=1&&l[0]==="2"){a={webOSVer:2,chipset:k.boardType.split("_")[0]}}else{if(l.length>=1&&l[0]==="3"){a={webOSVer:3,chipset:k.boardType.split("_")[0]}}else{a={webOSVer:0,chipset:""}}}}j(a)},onFailure:function(k){a={webOSVer:0,chipset:""};j(a)}})}else{j(a)}}i.prototype.getVideoStatus=function(j,k){d("getVideoStatus: ");f.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(l){d("getVideoStatus: On Success");if(l.returnValue===true){if(typeof j==="function"){var m={};m.source=l.videoSize.source;j(m)}}},onFailure:function(l){d("getVideoStatus: On Failure");delete l.returnValue;if(typeof k==="function"){g(l,"VGVS","Video.getVideoStatus returns failure.");k(l)}}});d("Video.getVideoStatus Done")};i.currentVideo={uri:null,source:null,tagId:null};i.prototype.setVideoSize=function(k,l,m){d("setVideoSize: "+JSON.stringify(m));if(m.source===undefined||typeof m.source.x!=="number"||typeof m.source.y!=="number"||typeof m.source.width!=="number"||typeof m.source.height!=="number"||isNaN(m.source.x)||isNaN(m.source.y)||isNaN(m.source.width)||isNaN(m.source.height)||m.source.x<0||m.source.y<0||m.source.width<=0||m.source.height<=0||m.source.width<16||m.source.height<16){if(typeof l==="function"){var j={};g(j,"VSVS","Video.setVideoSize returns failure. out of range or type error.");l(j)}return}f.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(n){d("setVideoSize: On Success");if(n.returnValue===true){var r={};r.x=n.videoSize.destination.x;r.y=n.videoSize.destination.y;r.width=n.videoSize.destination.width;r.height=n.videoSize.destination.height;var o=document.getElementsByTagName("video");var q=false;for(var p=0;p<o.length;p++){if(o[p].currentTime>0){q=true;if(i.currentVideo.uri!==o[p].src||(o[p].id!==null&&o[p].id!==undefined&&i.currentVideo.tagId!==null&&i.currentVideo.tagId!==undefined&&i.currentVideo.tagId!==o[p].id)){i.currentVideo.uri=o[p].src;i.currentVideo.source=n.videoSize.source;i.currentVideo.tagId=o[p].id}break}}if(q===false){f.Request("luna://com.webos.service.eim/",{method:"getCurrentInput",parameters:{},onSuccess:function(t){if(t.returnValue===true&&i.currentVideo.uri!==t.mainInputSourceId||(o[0].id!==null&&o[0].id!==undefined&&i.currentVideo.tagId!==null&&i.currentVideo.tagId!==undefined&&i.currentVideo.tagId!==o[0].id)){i.currentVideo.uri=t.mainInputSourceId;i.currentVideo.tagId=(o[0]!==null&&o[0].id!==null&&o[0].id!==undefined?o[0].id:null);f.Request("luna://com.webos.service.tv.signage/",{method:"getVideoSize",onSuccess:function(x){d("setVideoSize: On Success 1");if(x.returnValue===true){i.currentVideo.source=x.videoSize.source;if(x.videoSize.source.width===0&&x.videoSize.source.height===0){i.currentVideo={uri:null,source:null,tagId:null};var w={};g(w,"VSVS","Video.setVideoSize returns failure. Not ready to setVideoSize.");l(w);return}else{if(i.currentVideo.uri===null||i.currentVideo.source===null||(m.source.width+m.source.x)>(i.currentVideo.source.x+i.currentVideo.source.width)||(m.source.height+m.source.y)>(i.currentVideo.source.y+i.currentVideo.source.height)){var v={};g(v,"VSVS","Video.setVideoSize returns failure. out of range or type error.("+i.currentVideo.source.width+" : "+i.currentVideo.source.height+")");l(v);return}}f.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:m.source.x,y:m.source.y,width:m.source.width,height:m.source.height},destination:{x:r.x,y:r.y,width:r.width,height:r.height}}},onSuccess:function(y){d("setVideoSize: On Success 2");if(y.returnValue===true&&typeof k==="function"){k();return}},onFailure:function(y){d("setVideoSize: On Failure 2");delete y.returnValue;if(typeof l==="function"){g(y,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");l(y);return}}})}}})}else{if(i.currentVideo.uri===null||i.currentVideo.source===null||(m.source.width+m.source.x)>(i.currentVideo.source.x+i.currentVideo.source.width)||(m.source.height+m.source.y)>(i.currentVideo.source.y+i.currentVideo.source.height)){var u={};g(u,"VSVS","Video.setVideoSize returns failure. out of range or type error.("+i.currentVideo.source.width+" : "+i.currentVideo.source.height+")");l(u);return}f.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:m.source.x,y:m.source.y,width:m.source.width,height:m.source.height},destination:{x:r.x,y:r.y,width:r.width,height:r.height}}},onSuccess:function(v){d("setVideoSize: On Success 3");if(v.returnValue===true&&typeof k==="function"){k();return}},onFailure:function(v){d("setVideoSize: On Failure 3");delete v.returnValue;if(typeof l==="function"){g(v,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");l(v);return}}})}},onFailure:function(t){d("setVideoSize: On Failure 3");delete t.returnValue;if(typeof l==="function"){g(t,"VSVS","Video.setVideoSize returns failure. Can't set current video source size.");l(t);return}}})}else{if(i.currentVideo.uri===null||i.currentVideo.source===null||(m.source.width+m.source.x)>(i.currentVideo.source.x+i.currentVideo.source.width)||(m.source.height+m.source.y)>(i.currentVideo.source.y+i.currentVideo.source.height)){var s={};g(s,"VSVS","Video.setVideoSize returns failure. out of range or type error.("+i.currentVideo.source.width+" : "+i.currentVideo.source.height+")");l(s);return}f.Request("luna://com.webos.service.tv.signage/",{method:"setVideoSize",parameters:{videoSize:{source:{x:m.source.x,y:m.source.y,width:m.source.width,height:m.source.height},destination:{x:r.x,y:r.y,width:r.width,height:r.height}}},onSuccess:function(t){d("setVideoSize: On Success 4");if(t.returnValue===true&&typeof k==="function"){k();return}},onFailure:function(t){d("setVideoSize: On Failure 4");delete t.returnValue;if(typeof l==="function"){g(t,"VSVS","Video.setVideoSize returns failure. Can't current video source size.");l(t);return}}})}}},onFailure:function(n){d("setVideoSize: On Failure");delete n.returnValue;if(typeof l==="function"){g(n,"VSVS","Video.setVideoSize returns failure.");l(n);return}}});d("Video.setVideoSize Done")};i.prototype.setContentRotation=function(j,k,m){var l={};g(l,"ERROR","This function is not supported");if(typeof k==="function"){k(l)}return};i.prototype.getContentRotation=function(j,k){var l={};g(l,"ERROR","This function is not supported");if(typeof k==="function"){k(l)}return};i.prototype.setVideoViewTransform=function(j,m,l){var k={};g(k,"ERROR","This function is not supported");if(typeof m==="function"){m(k)}return};i.prototype.setRotatedVideoTransform=function(j,m,l){var k={};g(k,"ERROR","This function is not supported");if(typeof m==="function"){m(k)}return};b.exports=i});Video=cordova.require("cordova/plugin/video");
@@ -0,0 +1 @@
1
+ Configuration=(function(){var a,g;function e(l){}function k(l){return typeof l==="number"&&isFinite(l)}if(typeof window==="object"){cordova.define("cordova/plugin/configuration",function(m,l,n){a=function(){};if(window.PalmSystem){e("Window.PalmSystem Available");g=m("cordova/plugin/webos/service")}else{g={Request:function(o,p){e(o+" invoked. But I am a dummy because PalmSystem is not available");if(typeof p.onFailure==="function"){p.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}n.exports=a});a=cordova.require("cordova/plugin/configuration")}else{a=function(l){g=l;g.Request=function(m,o){var n=m+"/"+o.method;var p={};if(o.hasOwnProperty("parameters")===true){p=o.parameters}var q={};var r=function(s){console.log("res : "+JSON.stringify(s));if(s.payload.returnValue===true){q=s.payload;o.onSuccess(q)}else{q.returnValue=false;q.errorCode=s.payload.errorCode;q.errorText=s.payload.errorText;o.onFailure(q)}};if(g){g.call(n,p,r)}}};module.exports=a}function i(m,n,l){if(m.errorCode===undefined||m.errorCode===null){m.errorCode=n}if(m.errorText===undefined||m.errorText===null){m.errorText=l}}a.PictureMode={VIVID:"vivid",STANDARD:"normal",APS:"eco",CINEMA:"cinema",GAME:"game",SPORTS:"sports",EXPERT1:"expert1",EXPERT2:"expert2"};a.AppMode={LOCAL:"local",USB:"usb",REMOTE:"remote"};a.AppType={IPK:"ipk",ZIP:"zip"};a.LocaleList=[{language:"čeština",languageCode:"cs",countries:[{name:"",specifier:"cs-CZ"}]},{language:"dansk",languageCode:"da",countries:[{name:"",specifier:"da-DK"}]},{language:"Deutsch",languageCode:"de",countries:[{name:"",specifier:"de-DE"}]},{language:"English",languageCode:"en",countries:[{name:"",specifier:"en-US"}]},{language:"Español",languageCode:"es",countries:[{name:"",specifier:"es-ES"}]},{language:"ελληνική γλώσσα",languageCode:"el",countries:[{name:"",specifier:"el-GR"}]},{language:"Français",languageCode:"fr",countries:[{name:"",specifier:"fr-FR"}]},{language:"italiano",languageCode:"it",countries:[{name:"",specifier:"it-IT"}]},{language:"Nederlands",languageCode:"nl",countries:[{name:"",specifier:"nl-NL"}]},{language:"norsk",languageCode:"nb",countries:[{name:"",specifier:"nb-NO"}]},{language:"português",languageCode:"pt",countries:[{name:"Portugal",specifier:"pt-PT"},{name:"Brasil",specifier:"pt-BR"}]},{language:"русский",languageCode:"ru",countries:[{name:"",specifier:"ru-RU"}]},{language:"suomi",languageCode:"fi",countries:[{name:"",specifier:"fi-FI"}]},{language:"svenska",languageCode:"sv",countries:[{name:"",specifier:"sv-SE"}]},{language:"한국어",languageCode:"ko",countries:[{name:"",specifier:"ko-KR"}]},{language:"中文",languageCode:"zh-Hans",countries:[{name:"中国",specifier:"zh-Hans-CN"}]},{language:"日本語",languageCode:"ja",countries:[{name:"",specifier:"ja-JP"}]},{language:"中文",languageCode:"zh-Hant",countries:[{name:"香港",specifier:"zh-Hant-HK"}]}];function c(p){var l=a.LocaleList;for(var o=0;o<l.length;o++){var m=l[o].countries;for(var n=0;n<m.length;n++){if(m[n].specifier===p){return true}}}return false}function d(n){var l=a.LocaleList;for(var m=0;m<l.length;m++){if(l[m].languageCode===n){return true}}return false}var h=null;function j(l){if(h===null){g.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["sdkVersion"]},onSuccess:function(m){e("getPlatformInfo: onSuccess");var n=m.sdkVersion.split(".");if(n.length>=1&&n[0]==="1"){h=1}else{if(n.length>=1&&n[0]==="2"){h=2}else{if(n.length>=1&&n[0]==="3"){h=3}else{h=0}}}delete m.returnValue;l(h)},onFailure:function(m){e("getPlatformInfo: onFailure");delete m.returnValue;h=0;l(h)}})}else{l(h)}}a.prototype.setPictureMode=function(l,m,n){e("setPictureMode: "+JSON.stringify(n));g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"picture",settings:{pictureMode:n.mode}},onSuccess:function(o){e("setPictureMode: On Success");if(o.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(o){e("setPictureMode: On Failure");delete o.returnValue;if(typeof m==="function"){i(o,"CSPM","Configuration.setPictureMode returns failure.");m(o)}}});e("Configuration.setPictureMode Done")};a.prototype.getPictureMode=function(l,m){e("getPictureMode: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"picture",keys:["pictureMode"]},onSuccess:function(n){e("getPictureMode: On Success");if(n.returnValue===true){if(typeof l==="function"){var o={};o.mode=n.settings.pictureMode;l(o)}}},onFailure:function(n){e("getPictureMode: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGPM","Configuration.getPictureMode returns failure.");m(n)}}});e("Configuration.getPictureMode Done")};a.prototype.setPictureProperty=function(l,m,n){e("setPictureProperty: "+JSON.stringify(n));j(function(p){var r={};if(!(k(n.backlight))){var o={};i(o,"CSPP","Configuration.setPictureProperty, backlight type is not number.");m(o);return}for(var q in n){if(q!==undefined&&q!==null){r[q]=n[q];if(q==="tint"||q==="colorTemperature"){r[q]-=50}else{if(q==="blackLevel"){r[q]={unknown:n[q]};if(n[q]!=="low"&&n[q]!=="high"){e("setPictureProperty: gamma value error "+JSON.stringify(n));var o={};i(o,"CSPP","Configuration.setPictureProperty, There is No matched item : blackLevel.");m(o);return}}else{if(q==="gamma"&&(p===2||p===3)&&n[q]==="high"){r[q]="high1"}}}}}e(JSON.stringify(r));g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"picture",settings:r},onSuccess:function(s){e("setPictureProperty: On Success");if(s.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(s){e("setPictureProperty: On Failure");delete s.returnValue;if(typeof m==="function"){i(s,"CSPP","Configuration.setPictureProperty returns failure.");m(s)}}});e("Configuration.setPictureProperty Done")})};a.prototype.getPictureProperty=function(l,m){e("getPictureProperty: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"picture",keys:["brightness","contrast","color","tint","backlight","sharpness","hSharpness","vSharpness","colorTemperature","dynamicContrast","superResolution","colorGamut","dynamicColor","noiseReduction","mpegNoiseReduction","blackLevel","gamma"]},onSuccess:function(n){e("getPictureProperty: On Success");if(n.returnValue===true){if(typeof l==="function"){var p={};for(var o in n.settings){if(o!==undefined&&o!==null){p[o]=(isNaN(n.settings[o])?n.settings[o]:Number(n.settings[o]));if(o==="tint"||o==="colorTemperature"){p[o]+=50}else{if(o==="blackLevel"){p[o]=n.settings[o].unknown}else{if(o==="gamma"&&n.settings[o]==="high1"){p[o]="high"}}}}}l(p)}}},onFailure:function(n){e("getPictureProperty: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGPP","Configuration.getPictureProperty returns failure.");m(n)}}});e("Configuration.getPictureProperty Done")};var b={alias:"signageName"};var f={key_delivery_to_simplink:"propertyKeyDeliveryToSimplink",cec_device_control:"propertyCecDeviceControl"};a.prototype.setProperty=function(l,m,o){e("setProperty: "+JSON.stringify(o));var n=JSON.parse(o);var p={};var r={};var q={};var s={};j(function(t){if(t===3){b.alias="deviceName";r.category="network"}else{b.alias="signageName";r.category="commercial"}for(var u in n){if(b[u]!==undefined){p[(b[u])]=n[u];s.category=r.category}else{if(f[u]!==undefined){p[f[u]]=n[u];s.category="commercial"}else{if(typeof m==="function"){i(q,"CSP","Configuration.setProperty returns failure.");m(q);return}}}}s.settings=p;g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:s,onSuccess:function(v){e("setProperty: On Success");if(v.returnValue===true){if(typeof l==="function"){l()}}},onFailure:function(v){e("setProperty: On Failure");delete v.returnValue;if(typeof m==="function"){i(v,"CSP","Configuration.setProperty returns failure.");m(v)}}})});e("Configuration.setProperty Done")};a.prototype.getProperty=function(l,o,v){e("getProperty: ");var q=JSON.parse(v);var t=q.keys;var p=Object.keys(t).length;var r=0;var n={};var s=[];var u={};var m={};if(v===null||typeof v==="undefined"||typeof v!=="string"){i(u,"CGP","Configuration.getProperty check Parameter.");o(u)}j(function(w){if(w===3){b.alias="deviceName";n.category="network"}else{b.alias="signageName";n.category="commercial"}e(s);var B=function(D){if(D){if(p===r){if(typeof l==="function"){l(JSON.stringify(m))}}}else{i(u,"CGP","Configuration.getProperty returns failure.");o(u)}};var A=function(D){for(var E in b){if(b[E]===D){return E}}for(var E in f){if(f[E]===D){return E}}return false};var C=function(D){g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:D,onSuccess:function(E){e("getProperty: On Success");if(E.returnValue===true){if(Object.prototype.hasOwnProperty.call(E,"settings")){for(var G in E.settings){var F=A(G);if(F!==false){m[F]=E.settings[G]}}r++;B(true)}else{B(false)}}else{B(false)}},onFailure:function(E){e("getProperty: On Failure");delete E.returnValue;B(false)}})};for(var z=0;z<t.length;z++){var y=t[z];if(y!==null&&y!==undefined){var x={};if(Object.prototype.hasOwnProperty.call(b,y)){x.category=n.category;x.keys=[];x.keys.push(b[y]);C(x)}else{if(Object.prototype.hasOwnProperty.call(f,y)){x.category="commercial";x.keys=[];x.keys.push(f[y]);C(x)}else{i(u,"CGP","Configuration.getProperty - wrong key!");o(u)}}}}});e("Configuration.getProperty Done")};a.prototype.setCurrentTime=function(n,p,q){e("setCurrentTime: "+JSON.stringify(q));var o=new Date(q.year,q.month-1,q.day,q.hour,q.minute,q.sec);if(q.year<2000||q.year>2037||q.month<1||q.month>12||q.day<1||q.day>31||q.hour<0||q.hour>23||q.minute<0||q.minute>59||q.sec<0||q.sec>59||o.getFullYear()!==q.year||o.getMonth()!==(q.month-1)||o.getDate()!==q.day||o.getHours()!==q.hour||o.getMinutes()!==q.minute||o.getSeconds()!==q.sec){if(typeof p==="function"){e("setCurrentTime: out of range or invalid parameter type");var m={};i(m,"CSCT","Configuration.setCurrentTime returns failure for out of range.");p(m);return}}e("setCurrentTime: "+JSON.stringify(q));var l={};var s={};s.year=q.year;s.month=q.month;s.day=q.day;s.hour=q.hour;s.minute=q.minute;s.sec=q.sec;l.time=s;l.ntp=(typeof q.ntp==="boolean")?q.ntp:false;var r=function(){g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"setSystemTime",parameters:l,onSuccess:function(){e("setCurrentTime: On Success");if(typeof n==="function"){n()}},onFailure:function(t){e("setCurrentTime: On Failure");delete t.returnValue;if(typeof p==="function"){i(t,"CSCT","Configuration.setCurrentTime returns failure.");p(t)}}})};g.Request("luna://com.webos.service.config",{method:"getConfigs",parameters:{configNames:["commercial.com.palm.app.settings.supportNtpServerSetting"]},onSuccess:function(t){var u=false;if(t.returnValue===true&&t.configs&&t.configs["commercial.com.palm.app.settings.supportNtpServerSetting"]){u=t.configs["commercial.com.palm.app.settings.supportNtpServerSetting"]===true}if(u){l.ntpServerAddress=q.ntpServerAddress}r()},onFailure:function(t){r()}});e("Configuration.setCurrentTime Done")};a.prototype.getCurrentTime=function(l,m){e("getCurrentTime: ");g.Request("luna://com.palm.systemservice/time/",{method:"getEffectiveBroadcastTime",onSuccess:function(n){e("getCurrentTime : On Success");if(n.returnValue===true){var o={};var p=new Date(n.adjustedUtc*1000);o.year=p.getFullYear();o.month=p.getMonth()+1;o.day=p.getDate();o.hour=p.getHours();o.minute=p.getMinutes();o.sec=p.getSeconds();g.Request("luna://com.palm.systemservice/",{method:"getPreferences",parameters:{keys:["useNetworkTime"]},onSuccess:function(q){e("getPreferences : On Success");if(q.returnValue===true){o.ntp=q.useNetworkTime;g.Request("luna://com.webos.service.config",{method:"getConfigs",parameters:{configNames:["commercial.com.palm.app.settings.supportNtpServerSetting"]},onSuccess:function(r){var s=false;if(r.returnValue===true&&r.configs&&r.configs["commercial.com.palm.app.settings.supportNtpServerSetting"]){s=r.configs["commercial.com.palm.app.settings.supportNtpServerSetting"]===true}if(!s){if(typeof l==="function"){l(o)}return}g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["ntpServerMode","ntpServerType","ntpServerIpv4","ntpServerIpv6","ntpServerUrl"]},onSuccess:function(t){if(t.returnValue===true){if(o.ntp===true&&t.settings.ntpServerMode==="manual"){var u=t.settings.ntpServerType;if(u==="ipv4"){o.ntpServerAddress=t.settings.ntpServerIpv4}else{if(u==="ipv6"){o.ntpServerAddress=t.settings.ntpServerIpv6}else{if(u==="url"){o.ntpServerAddress=t.settings.ntpServerUrl}}}}if(typeof l==="function"){l(o)}return}},onFailure:function(t){delete t.returnValue;if(typeof l==="function"){l(o)}return}})},onFailure:function(r){delete r.returnValue;if(typeof l==="function"){l(o)}return}})}else{if(typeof m==="function"){i(n,"CGCT","Configuration.getCurrentTime returns failure.");m(n)}}},onFailure:function(q){e("getCurrentTime: On Failure");delete q.returnValue;if(typeof m==="function"){i(q,"CGCT","Configuration.getCurrentTime returns failure.");m(q)}}})}else{if(typeof m==="function"){i(n,"CGCT","Configuration.getCurrentTime returns failure.");m(n)}}},onFailure:function(n){e("getCurrentTime: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGCT","Configuration.getCurrentTime returns failure.");m(n)}}});e("Configuration.getCurrentTime Done")};a.prototype.restartApplication=function(l,m){e("restartApp: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"restart_application",onSuccess:function(n){e("restartApp: On Success");if(typeof l==="function"){l(n)}},onFailure:function(n){e("restartApp: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CRA","Configuration.restartApp returns failure.");m(n)}}});e("Configuration.restartApp Done")};a.prototype.getServerProperty=function(l,m){e("getServerProperty: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["serverIpPort","siServerIp","secureConnection","appLaunchMode","fqdnAddr","fqdnMode","appType"]},onSuccess:function(n){e("getPictureProperty: On Success");if(n.returnValue===true){if(typeof l==="function"){var o={};o.serverIp=n.settings.siServerIp;o.serverPort=parseInt(n.settings.serverIpPort,10);o.secureConnection=(n.settings.secureConnection==="off"?false:true);o.appLaunchMode=n.settings.appLaunchMode;o.appType=n.settings.appType;o.fqdnMode=(n.settings.fqdnMode==="off"?false:true);o.fqdnAddr=n.settings.fqdnAddr;l(o)}}},onFailure:function(n){e("getServerProperty: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGSP","Configuration.getServerProperty returns failure.");m(n)}}});e("Configuration.getServerProperty Done")};a.prototype.setServerProperty=function(m,n,o){e("setServerProperty: "+JSON.stringify(o));if(o===undefined||typeof o.serverIp!=="string"||/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(o.serverIp)===false||isNaN(o.serverPort)||o.serverPort<0||o.serverPort>65535||typeof o.serverPort!=="number"||typeof o.secureConnection!=="boolean"||typeof o.appLaunchMode!=="string"||(o.appLaunchMode!==a.AppMode.USB&&o.appLaunchMode!==a.AppMode.LOCAL&&o.appLaunchMode!==a.AppMode.REMOTE)){if(typeof n==="function"){var l={};i(l,"CSSP","Configuration.setServerProperty, Invalid parameters.");n(l);return}}var p={};p.siServerIp=o.serverIp;p.serverIpPort=o.serverPort+"";p.secureConnection=(o.secureConnection===true?"on":"off");p.appLaunchMode=o.appLaunchMode;if(typeof o.fqdnMode==="boolean"){p.fqdnMode=(o.fqdnMode===true?"on":"off")}if(typeof o.fqdnAddr==="string"){p.fqdnAddr=o.fqdnAddr}if(typeof o.appType!=="undefined"){p.appType=o.appType}e(JSON.stringify(p));g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:p},onSuccess:function(q){e("setServerProperty: On Success");if(q.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(q){e("setServerProperty: On Failure");delete q.returnValue;if(typeof n==="function"){i(q,"CSSP","Configuration.setServerProperty returns failure.");n(q)}}});e("Configuration.setServerProperty Done")};a.prototype.clearCache=function(l,m){e("clearCache: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"clearCache",onSuccess:function(n){e("clearCache: On Success");if(typeof l==="function"){l()}},onFailure:function(n){e("clearCache: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CCC","Configuration.clearCache returns failure.");m(n)}}});e("Configuration.clearCache Done")};a.prototype.getTimeZoneList=function(l,m){e("getTimeZoneList: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"getTimeZoneList",onSuccess:function(n){e("getTimeZoneList: On Success");if(n.returnValue===true){if(typeof l==="function"){delete n.returnValue;l(n)}}},onFailure:function(n){e("getTimeZoneList: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGTL","Configuration.getTimeZoneList returns failure.");m(n)}}});e("Configuration.getTimeZoneList Done")};a.prototype.getTimeZone=function(l,m){e("getTimeZone: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"getTimeZone",onSuccess:function(n){e("getTimeZone: On Success");if(n.returnValue===true){if(typeof l==="function"){delete n.returnValue;l(n)}}},onFailure:function(n){e("getTimeZone: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGTZ","Configuration.getTimeZone returns failure.");m(n)}}});e("Configuration.getTimeZone Done")};a.prototype.setTimeZone=function(l,m,n){e("setTimeZone: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"time",keys:["autoClock"]},onSuccess:function(o){if(o.returnValue===true){if(typeof l==="function"){if(o.settings.autoClock==="off"){delete o.returnValue;if(typeof m==="function"){i(o,"CSTZ","Configuration.setTimeZone returns failure. autoClock is off");m(o)}}else{g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"setTimeZone",parameters:n,onSuccess:function(p){e("setTimeZone: On Success");if(p.returnValue===true){if(typeof l==="function"){delete p.returnValue;l(p)}}},onFailure:function(p){e("setTimeZone: On Failure");delete p.returnValue;if(typeof m==="function"){i(p,"CSTZ","Configuration.setTimeZone returns failure.");m(p)}}})}}}},onFailure:function(o){e("setTimeZone: On Failure");delete o.returnValue;if(typeof m==="function"){i(o,"CSTZ","Configuration.setTimeZone returns failure.");m(o)}}});e("Configuration.setTimeZone Done")};a.prototype.debug=function(l,m,n){e("debug: "+n.enabled);g.Request("luna://com.webos.service.commercial.signage.storageservice/",{method:"debug",parameters:{enabled:n.enabled},onSuccess:function(o){e("debug: On Success");if(typeof l==="function"){l(o)}},onFailure:function(o){e("debug: On Failure");delete o.returnValue;if(typeof m==="function"){i(o,"CD","Configuration.debug returns failure.");m(o)}}});e("Configuration.debug Done")};a.prototype.setUSBLock=function(m,n,o){e("setUSBLock: "+o.enabled);if(o.enabled===null&&typeof n==="function"){var l={};i(l,"CSUL","Configuration.setUSBLock returns failure. command was not defined.");n(l);e("Configuration.setUSBLock invalid ");return}g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:{enableUsb:(o.enabled===true)?"off":"on"}},onSuccess:function(p){e("setUSBLock: On Success");if(p.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(p){e("setUSBLock: On Failure");delete p.returnValue;if(typeof n==="function"){i(p,"CSUL","Configuration.setUSBLock returns failure.");n(p)}}});e("Configuration.setUSBLock Done")};a.prototype.getUSBLock=function(l,m){e("getUSBLock: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["enableUsb"]},onSuccess:function(n){e("getUSBLock: On Success");if(n.returnValue===true){var o={};o.enabled=(n.settings.enableUsb==="off")?true:false;if(typeof l==="function"){l(o)}}},onFailure:function(n){e("getUSBLock: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGUL","Configuration.getUSBLock returns failure.");m(n)}}});e("Configuration.getUSBLock Done")};a.prototype.setOSDLock=function(m,n,o){e("setOSDLock: "+o.enabled);if(o.enabled===null&&typeof n==="function"){var l={};i(l,"CSOL","Configuration.setOSDLock returns failure. command was not defined.");n(l);e("Configuration.setOSDLock invalid ");return}g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"hotelMode",notifySelf:false,settings:{enableMrcu:(o.enabled===true)?"off":"on",enableOsdVisibility:(o.enabled===true)?"off":"on"}},onSuccess:function(p){e("setOSDLock: On Success");if(p.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(p){e("setOSDLock: On Failure");delete p.returnValue;if(typeof n==="function"){i(p,"CSOL","Configuration.setOSDLock returns failure.");n(p)}}});e("Configuration.setOSDLock Done")};a.prototype.getOSDLock=function(l,m){e("getOSDLock: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"hotelMode",keys:["enableMrcu","enableOsdVisibility"]},onSuccess:function(n){e("getOSDLock: On Success");if(n.returnValue===true){var o={};o.enabled=(n.settings.enableMrcu==="on"&&n.settings.enableOsdVisibility==="on")?false:true;if(typeof l==="function"){l(o)}}},onFailure:function(n){e("getOSDLock: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGOL","Configuration.getOSDLock returns failure.");m(n)}}});e("Configuration.getOSDLock Done")};a.prototype.getLocaleList=function(l,m){e("getLocaleList: ");var n={};n.localeList=a.LocaleList;if(typeof l==="function"){l(n)}e("Configuration.getLocaleList Done")};a.prototype.setOSDLanguage=function(m,n,o){e("setOSDLanguage: "+o.specifier);if((o.specifier===null||typeof o.specifier!=="string")&&typeof n==="function"){var l={};i(l,"CSOL","Configuration.setOSDLanguage returns failure. command was not defined.");n(l);e("Configuration.setOSDLanguage invalid ");return}if(c(o.specifier)===true){e("Specifier is valid");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{keys:["localeInfo"]},onSuccess:function(p){if(p.returnValue===true){var q={};q=p.settings.localeInfo;q.locales.UI=o.specifier;q.locales.FMT=o.specifier;q.locales.TV=o.specifier;e("localeInfo : "+JSON.stringify(q));g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{settings:{localeInfo:q}},onSuccess:function(r){e("setOSDLanguage: On Success");if(r.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(r){e("setOSDLanguage: On Failure");delete r.returnValue;if(typeof n==="function"){i(r,"CSOL","Configuration.setOSDLanguage returns failure.");n(r)}}})}},onFailure:function(p){delete p.returnValue;if(typeof n==="function"){i(p,"CSOL","Configuration.setOSDLanguage returns failure.");n(p)}}})}else{var l={};i(l,"CSOL","Configuration.setOSDLanguage returns failure. specifier is not valid.");n(l);e("Configuration.setOSDLanguage invalid ");return}e("Configuration.setOSDLanguage Done")};a.prototype.getOSDLanguage=function(l,m){e("getOSDLanguage: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{keys:["localeInfo"]},onSuccess:function(n){e("getOSDLanguage: On Success");if(n.returnValue===true){var o={};e("localeInfo : "+JSON.stringify(n.settings.localeInfo));o.specifier=n.settings.localeInfo.locales.UI;if(typeof l==="function"){l(o)}}},onFailure:function(n){e("getOSDLanguage: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGOL","Configuration.getOSDLanguage returns failure.");m(n)}}});e("Configuration.getOSDLanguage Done")};a.prototype.setVirtualKeyboardLanguage=function(m,n,o){e("setVirtualKeyboardLanguage: "+o.languageCodeList);if(o.languageCodeList===null&&typeof n==="function"){var l={};i(l,"CSKL","Configuration.setVirtualKeyboardLanguage returns failure. command was not defined.");n(l);e("Configuration.setVirtualKeyboardLanguage invalid ");return}for(var p=0;p<o.languageCodeList.length;p++){if(d(o.languageCodeList[p])===false){var l={};i(l,"CSKL","Configuration.setVirtualKeyboardLanguage returns failure. language code is not valid.");n(l);e("Configuration.setVirtualKeyboardLanguage invalid ");return}}e("languageCodeList is valid");g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration/",{method:"setVirtualKeyboardLanguage",parameters:{languageCodeList:o.languageCodeList},onSuccess:function(q){e("setVirtualKeyboardLanguage: On Success");if(q.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(q){e("setVirtualKeyboardLanguage: On Failure");delete q.returnValue;if(typeof n==="function"){i(q,"CSKL","Configuration.setVirtualKeyboardLanguage returns failure.");n(q)}}});e("Configuration.setVirtualKeyboardLanguage Done")};a.prototype.getVirtualKeyboardLanguage=function(l,m){e("getVirtualKeyboardLanguage: ");g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration/",{method:"getVirtualKeyboardLanguage",parameters:{},onSuccess:function(n){e("getVirtualKeyboardLanguage: On Success");if(n.returnValue===true){var o={};e("keyboards : "+JSON.stringify(n.languageCodeList));o.languageCodeList=n.languageCodeList;if(typeof l==="function"){l(o)}}},onFailure:function(n){e("getVirtualKeyboardLanguage: On Failure");delete n.returnValue;if(typeof m==="function"){i(n,"CGKL","Configuration.getVirtualKeyboardLanguage returns failure.");m(n)}}});e("Configuration.getVirtualKeyboardLanguage Done")};a.prototype.setProxyBypassList=function(m,n,o){if(typeof o.urlList==="undefined"&&typeof n==="function"){var l={};i(l,"CSPB","Configuration.setProxyBypassList returns failure. options.urlList is undefined.");n(l);return}g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration/",{method:"setProxyBypassList",parameters:{urlList:o.urlList},onSuccess:function(p){e("setProxyBypassList: On Success");if(p.returnValue===true){if(typeof m==="function"){m()}}},onFailure:function(p){e("setProxyBypassList: On Failure");delete p.returnValue;if(typeof n==="function"){i(p,"CSPB","Configuration.setProxyBypassList returns failure.");n(p)}}})};a.prototype.getProxyBypassList=function(l,m){g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration/",{method:"getProxyBypassList",parameters:{},onSuccess:function(n){if(n.returnValue===true){var o={};o.urlList=n.urlList;if(typeof l==="function"){l(o)}}},onFailure:function(n){delete n.returnValue;if(typeof m==="function"){i(n,"CGPB","Configuration.getProxyBypassList returns failure.");m(n)}}})};a.prototype.getMasterPinStatus=function(l,m){g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration",{method:"getMasterPinStatus",parameters:{},onSuccess:function(n){delete n.returnValue;if(typeof l==="function"){l(n)}},onFailure:function(n){delete n.returnValue;if(typeof m==="function"){m(n)}}})};a.prototype.setMasterPinStatus=function(l,m,n){g.Request("luna://com.webos.service.commercial.signage.storageservice/configuration",{method:"setMasterPinStatus",parameters:n,onSuccess:function(o){delete o.returnValue;if(typeof l==="function"){l()}},onFailure:function(o){delete o.returnValue;if(typeof m==="function"){m(o)}}})};return a}());
@@ -0,0 +1 @@
1
+ DeviceInfo=(function(){var d,a;function c(e){}if(typeof window==="object"){cordova.define("cordova/plugin/deviceInfo",function(f,e,g){d=function(){};if(window.PalmSystem){c("Window.PalmSystem Available");a=f("cordova/plugin/webos/service")}else{a={Request:function(h,i){c(h+" invoked. But I am a dummy because PalmSystem is not available");if(typeof i.onFailure==="function"){i.onFailure({returnValue:false,errorText:"PalmSystem Not Available. Cordova is not installed?"})}}}}g.exports=d});d=cordova.require("cordova/plugin/deviceInfo")}else{d=function(e){a=e;a.Request=function(f,h){var g=f+"/"+h.method;var i={};if(h.hasOwnProperty("parameters")===true){i=h.parameters}var j={};var k=function(l){console.log("res : "+JSON.stringify(l));if(l.payload.returnValue===true){j=l.payload;h.onSuccess(j)}else{j.returnValue=false;j.errorCode=l.payload.errorCode;j.errorText=l.payload.errorText;h.onFailure(j)}};if(a){a.call(g,i,k)}}};module.exports=d}function b(f,g,e){if(f.errorCode===undefined||f.errorCode===null){f.errorCode=g}if(f.errorText===undefined||f.errorText===null){f.errorText=e}}d.EddystoneFrame={UUID:"uid",URL:"url"};d.prototype.getNetworkInfo=function(e,f){c("getNetworkInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getNetworkInfo",parameters:{},onSuccess:function(g){if(typeof e==="function"){delete g.returnValue;e(g)}},onFailure:function(g){c("getNetworkInfo: onFailure");if(g.errorText.indexOf("Unknown method")!==-1){a.Request("luna://com.palm.connectionmanager",{method:"getstatus",parameters:{},onSuccess:function(h){c("getNetworkInfo: onSuccess");delete h.returnValue;if(typeof e==="function"){e(h)}},onFailure:function(h){c("getNetworkInfo: onFailure");delete h.returnValue;if(typeof f==="function"){f(h)}}})}else{delete g.returnValue;if(typeof f==="function"){f(g)}}}});c("DeviceInfo.getNetworkInfo Done")};d.prototype.setNetworkInfo=function(e,f,g){c("setNetworkInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setNetworkInfo",parameters:g,onSuccess:function(h){c("setNetworkInfo: onSuccess");if(typeof e==="function"){e()}},onFailure:function(h){c("setNetworkInfo: onFailure");delete h.returnValue;if(typeof f==="function"){f(h)}}});c("DeviceInfo.setNetworkInfo Done")};d.prototype.getBeaconInfo=function(e,f){c("getBeaconInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getBeaconInfo",parameters:{},onSuccess:function(g){c("getBeaconInfo: onSuccess");delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getBeaconInfo: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.getBeaconInfo Done")};d.prototype.setBeaconInfo=function(f,g,h){c("setBeaconInfo: ");var i=function(k){if(typeof k==="undefined"||k===null||k.length!=32){return false}var j=new RegExp(/^[a-fA-F0-9]*$/g);return j.exec(k)!==null?true:false};if(h.enabled===true&&(i(h.uuid)===false||isNaN(h.major)||h.major<0||h.major>65535||isNaN(h.minor)||h.minor<0||h.minor>65535)){c("setBeaconInfo: options are invalid.");if(typeof g==="function"){var e={};b(e,"DSBI","DeviceInfo.setBeaconInfo. Invalid options.");g(e)}return}a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setBeaconInfo",parameters:h,onSuccess:function(j){c("setBeaconInfo: onSuccess");if(typeof f==="function"){f()}},onFailure:function(j){c("setBeaconInfo: onFailure");delete j.returnValue;if(typeof g==="function"){g(j)}}});c("DeviceInfo.setBeaconInfo Done")};d.prototype.getSoftApInfo=function(e,f){c("getSoftApInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getSoftApInfo",parameters:{},onSuccess:function(g){c("getSoftApInfo: onSuccess");delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getSoftApInfo: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.getSoftApInfo Done")};d.prototype.setSoftApInfo=function(f,g,h){c("setSoftApInfo: ");if(h.enabled===true&&((h.ssid!==null&&h.ssid.length>32)||(h.securityKey!==null&&h.securityKey.length!==6))){c("setSoftApInfo: options are invalid.");if(typeof g==="function"){var e={};b(e,"DSSI","DeviceInfo.setSoftApInfo. Invalid options.");g(e)}return}a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setSoftApInfo",parameters:h,onSuccess:function(i){c("setSoftApInfo: onSuccess");if(typeof f==="function"){f()}},onFailure:function(i){c("setSoftApInfo: onFailure");delete i.returnValue;if(typeof g==="function"){g(i)}}});c("DeviceInfo.setSoftApInfo Done")};d.prototype.getWifiList=function(e,f){c("getWifiList: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getWifiList",parameters:{},onSuccess:function(g){c("getWifiList: onSuccess");delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getWifiList: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.getWifiList Done")};d.prototype.connectWifi=function(e,f,g){c("connectWifi: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"connectWifi",parameters:g,onSuccess:function(h){c("connectWifi: onSuccess");if(typeof e==="function"){e()}},onFailure:function(h){c("connectWifi: onFailure");delete h.returnValue;if(typeof f==="function"){f(h)}}});c("DeviceInfo.connectWifi Done")};d.prototype.startWps=function(e,f,g){c("startWps: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"startWps",parameters:g,onSuccess:function(h){c("startWps: onSuccess");delete h.returnValue;if(typeof e==="function"){e(h)}},onFailure:function(h){c("startWps: onFailure");delete h.returnValue;if(typeof f==="function"){f(h)}}});c("DeviceInfo.startWps Done")};d.prototype.stopWps=function(e,f){c("stopWps: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"stopWps",parameters:{},onSuccess:function(g){c("stopWps: onSuccess");if(typeof e==="function"){e()}},onFailure:function(g){c("stopWPS: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.stopWps Done")};d.prototype.getNetworkMacInfo=function(e,f){c("getNetworkMacInfo: ");a.Request("luna://com.webos.service.tv.signage",{method:"getinfo",parameters:{},onSuccess:function(g){c("getNetworkMacInfo: onSuccess");delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getNetworkMacInfo: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.getNetworkMacInfo Done")};d.prototype.getPlatformInfo=function(e,f){c("getPlatformInfo: ");a.Request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","serialNumber","firmwareVersion","hardwareVersion","sdkVersion"]},onSuccess:function(g){c("getPlatformInfo: onSuccess");g.manufacturer="LGE";g.sdkVersion="1.5.12";delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getPlatformInfo: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}});c("DeviceInfo.getPlatformInfo Done")};d.prototype.getSystemUsageInfo=function(e,f,g){c("getSystemUsageInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice",{method:"getSystemUsageInfo",parameters:{cpus:g.cpus,memory:g.memory},onSuccess:function(h){if(h.returnValue===true){var i={};if(typeof h.memory!=="undefined"){i.memory=h.memory}if(typeof h.cpus!=="undefined"){i.cpus=h.cpus}if(typeof e==="function"){e(i)}}else{if(typeof f==="function"){f({errorCode:h.errorCode,errorText:h.errorText})}}},onFailure:function(h){if(typeof f==="function"){f({errorCode:h.errorCode,errorText:h.errorText})}}});c("DeviceInfo.getSystemUsageInfo Done")};d.prototype.setProxyInfo=function(f,g,h){var i={};c("setProxyInfo: "+h.enabled);if(typeof h.enabled!=="boolean"&&typeof g==="function"){var e={};b(e,"DSPI","DeviceInfo.setProxyInfo returns failure. enabled is not boolean.");g(e);return}if(h.enabled==false){i.proxyEnable="off";if(typeof h.ipAddress==="string"&&h.ipAddress.length<=512){i.proxySingleAddress=h.ipAddress}if(isNaN(h.port)===false){i.proxySinglePort=h.port.toString()}}else{i.proxyEnable="on";if((typeof h.ipAddress!=="string"||h.ipAddress.length>512)&&typeof g==="function"){var e={};b(e,"DSPI","DeviceInfo.setProxyInfo returns failure. ipAddress is not valid.");g(e);return}else{if(isNaN(h.port)&&typeof g==="function"){var e={};b(e,"DSPI","DeviceInfo.setProxyInfo returns failure. port is not number.");g(e);return}}i.proxySingleAddress=h.ipAddress;i.proxySinglePort=h.port.toString()}if(typeof h.userName==="string"){i.proxySingleUsername=h.userName}if(typeof h.password==="string"){i.proxySinglePassword=h.password}c("proxyInfo : "+JSON.stringify(i));a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:i},onSuccess:function(j){c("setProxyInfo: On Success");if(j.returnValue===true){if(typeof f==="function"){f()}}},onFailure:function(j){c("setSoundOut: On Failure");delete j.returnValue;if(typeof g==="function"){b(j,"DSPI","DeviceInfo.setProxyInfo returns failure.");g(j)}}});c("DeviceInfo.setProxyInfo Done")};d.prototype.getProxyInfo=function(e,f){c("getProxyInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["proxyEnable","proxySingleAddress","proxySinglePort"]},onSuccess:function(g){c("getProxyInfo: On Success");if(g.returnValue===true){var h={};h.enabled=(g.settings.proxyEnable==="on")?true:false;h.ipAddress=g.settings.proxySingleAddress;h.port=parseInt(g.settings.proxySinglePort);if(typeof e==="function"){e(h)}}},onFailure:function(g){c("getProxyInfo: On Failure");delete g.returnValue;if(typeof f==="function"){b(g,"DGPI","DeviceInfo.getProxyInfo returns failure.");f(g)}}});c("DeviceInfo.getProxyInfo Done")};d.prototype.setiBeaconInfo=function(f,h,i){var j=function(l){if(typeof l==="undefined"||l===null||l.length!=32){return false}var k=new RegExp(/^[a-fA-F0-9]*$/g);return k.exec(l)!==null?true:false};var g={};if((i.enabled===null||i.enabled===undefined||typeof i.enabled!=="boolean")&&typeof h==="function"){var e={};b(e,"DSIB","DeviceInfo.setiBeaconInfo returns failure. enabled is required.");h(e);c("DeviceInfo.setiBeaconInfo invalid ");return}if(i.enabled==false){g.beaconMode="off"}else{if((i.uuid===null||i.uuid===undefined||j(i.uuid)===false)&&typeof h==="function"){var e={};b(e,"DSIB","DeviceInfo.setiBeaconInfo returns failure. uuid is not valid.");h(e);c("DeviceInfo.setiBeaconInfo invalid ");return}if((i.major===null||i.major===undefined||isNaN(i.major)||i.major<0||i.major>65535||i.minor===null||i.minor===undefined||isNaN(i.minor)||i.minor<0||i.minor>65535)&&typeof h==="function"){var e={};b(e,"DSIB","DeviceInfo.setiBeaconInfo returns failure. major and minor are not valid.");h(e);c("DeviceInfo.setiBeaconInfo invalid ");return}g.beaconMode="on";g.beaconType="iBeacon";g.iBeaconUuid=i.uuid;g.iBeaconMajor=i.major.toString();g.iBeaconMinor=i.minor.toString()}c("iBeaconInfo: "+JSON.stringify(g));a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:g},onSuccess:function(k){c("setiBeaconInfo: On Success");if(k.returnValue===true){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"notifyUpdatingBeaconInfo",parameters:{},onSuccess:function(l){c("notifyUpdatingBeaconInfo: onSuccess");delete l.returnValue;if(typeof f==="function"){f(l)}},onFailure:function(l){c("notifyUpdatingBeaconInfo: onFailure");delete l.returnValue;if(typeof h==="function"){h(l)}}})}},onFailure:function(k){c("setiBeaconInfo: On Failure");delete k.returnValue;if(typeof h==="function"){b(k,"DSIB","DeviceInfo.setiBeaconInfo returns failure.");h(k)}}});c("DeviceInfo.setiBeaconInfo Done")};d.prototype.getiBeaconInfo=function(e,f){c("getiBeaconInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["beaconMode","iBeaconUuid","iBeaconMajor","iBeaconMinor"]},onSuccess:function(g){c("getiBeaconInfo: On Success");if(g.returnValue===true){var h={};h.enabled=(g.settings.beaconMode==="on")?true:false;h.uuid=g.settings.iBeaconUuid;h.major=parseInt(g.settings.iBeaconMajor);h.minor=parseInt(g.settings.iBeaconMinor);if(typeof e==="function"){e(h)}}},onFailure:function(g){c("getiBeaconInfo: On Failure");delete g.returnValue;if(typeof f==="function"){b(g,"DGIB","DeviceInfo.getiBeaconInfo returns failure.");f(g)}}});c("DeviceInfo.getiBeaconInfo Done")};d.prototype.setEddystoneInfo=function(h,i,j){var g=function(m){if(typeof m==="undefined"||m===null||m.length!=32){return false}var l=new RegExp(/^[a-fA-F0-9]*$/g);return l.exec(m)!==null?true:false};var k={};c("setEddystoneInfo: "+j.enabled);if((j.enabled===null||j.enabled===undefined||typeof j.enabled!=="boolean")&&typeof i==="function"){var f={};b(f,"DSEI","DeviceInfo.setEddystoneInfo returns failure. enabled is required.");i(f);c("DeviceInfo.setEddystoneInfo invalid ");return}if(j.enabled===false){k.beaconMode="off"}else{k.beaconMode="on";k.beaconType="eddystone";if(j.frame===d.EddystoneFrame.UUID){if(g(j.frameData)===false&&typeof i==="function"){var f={};b(f,"DSEI","DeviceInfo.setEddystoneInfo returns failure. frameData is not valid.");i(f);c("DeviceInfo.setEddystoneInfo invalid ");return}k.eddyStoneFrame=j.frame;k.eddyStoneUuid=j.frameData}else{if(j.frame===d.EddystoneFrame.URL){if((j.frameData===null||j.frameData===undefined||typeof j.frameData!=="string"||j.frameData.search("://")<0||j.frameData.substring(0,4).toUpperCase()!=="HTTP")&&typeof i==="function"){var f={};b(f,"DSEI","DeviceInfo.setEddystoneInfo returns failure. frameData is not valid.");i(f);c("DeviceInfo.setEddystoneInfo invalid ");return}k.eddyStoneFrame=j.frame;k.eddyStoneUrlPrefix=j.frameData.substring(0,j.frameData.search("://"));if(j.frameData.substring(j.frameData.search("://")+3,3).toUpperCase()==="WWW"){k.eddyStoneUrlPrefix=k.eddyStoneUrlPrefix+"Ex"}var e=0;if(k.eddyStoneUrlPrefix.toUpperCase()==="HTTP"){e=7}else{if(k.eddyStoneUrlPrefix.toUpperCase()==="HTTPEX"){e=11}else{if(k.eddyStoneUrlPrefix.toUpperCase()==="HTTPS"){e=8}else{if(k.eddyStoneUrlPrefix.toUpperCase()==="HTTPSEX"){e=12}}}}if(j.frameData.length-e>17){var f={};b(f,"DSEI","DeviceInfo.setEddystoneInfo returns failure. url size is over.");i(f);c("DeviceInfo.setEddystoneInfo invalid ");return}k.eddyStoneUrl=j.frameData.substring(e,j.frameData.length);k.eddyStoneUrlExCode="noneValue"}else{var f={};b(f,"DSEI","DeviceInfo.setEddystoneInfo returns failure. frame is not valid.");i(f);c("DeviceInfo.setEddystoneInfo invalid ");return}}}c("eddystoneInfo : "+JSON.stringify(k));a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"set",parameters:{category:"commercial",settings:k},onSuccess:function(l){c("setEddystoneInfo: On Success");if(l.returnValue===true){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"notifyUpdatingBeaconInfo",parameters:{},onSuccess:function(m){c("notifyUpdatingBeaconInfo: onSuccess");delete m.returnValue;if(typeof h==="function"){h(m)}},onFailure:function(m){c("notifyUpdatingBeaconInfo: onFailure");delete m.returnValue;if(typeof i==="function"){i(m)}}})}},onFailure:function(l){c("setEddystoneInfo: On Failure");delete l.returnValue;if(typeof i==="function"){b(l,"DSEI","DeviceInfo.setEddystoneInfo returns failure.");i(l)}}})};d.prototype.getEddystoneInfo=function(e,f){c("getEddystoneInfo: ");a.Request("luna://com.webos.service.commercial.signage.storageservice/settings/",{method:"get",parameters:{category:"commercial",keys:["beaconMode","eddyStoneFrame","eddyStoneUuid","eddyStoneUrlPrefix","eddyStoneUrl","eddyStoneUrlExCode"]},onSuccess:function(g){c("getEddystoneInfo: On Success");if(g.returnValue===true){var h={};h.enabled=(g.settings.beaconMode==="on")?true:false;h.frame=g.settings.eddyStoneFrame;if(g.settings.eddyStoneFrame===d.EddystoneFrame.UUID){h.frameData=g.settings.eddyStoneUuid}else{if(g.settings.eddyStoneUrlPrefix==="http"){h.frameData="http://"+g.settings.eddyStoneUrl}else{if(g.settings.eddyStoneUrlPrefix==="httpEx"){h.frameData="http://www."+g.settings.eddyStoneUrl}else{if(g.settings.eddyStoneUrlPrefix==="https"){h.frameData="https://"+g.settings.eddyStoneUrl}else{h.frameData="https://www."+g.settings.eddyStoneUrl}}}}if(typeof e==="function"){e(h)}}},onFailure:function(g){c("getEddystoneInfo: On Failure");delete g.returnValue;if(typeof f==="function"){b(g,"DGEI","DeviceInfo.getEddystoneInfo returns failure.");f(g)}}});c("DeviceInfo.getEddystoneInfo Done")};d.prototype.getBlockedPortList=function(e,f){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getBlockedPortList",parameters:{},onSuccess:function(g){delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){delete g.returnValue;if(typeof f==="function"){b(g,"DGEI","DeviceInfo.getBlockedPortList returns failure.");f(g)}}})};d.prototype.addBlockedPortList=function(e,f,g){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"addBlockedPortList",parameters:g,onSuccess:function(h){if(typeof e==="function"){e()}},onFailure:function(h){delete h.returnValue;if(typeof f==="function"){f(h)}}})};d.prototype.deleteBlockedPortList=function(e,f,g){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"deleteBlockedPortList",parameters:g,onSuccess:function(h){if(typeof e==="function"){e()}},onFailure:function(h){delete h.returnValue;if(typeof f==="function"){f(h)}}})};d.prototype.getNetworkCheckupInfo=function(e,f){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"getNetworkCheckupInfo",parameters:{},onSuccess:function(g){c("getNetworkCheckupInfo: onSuccess");delete g.returnValue;if(typeof e==="function"){e(g)}},onFailure:function(g){c("getNetworkCheckupInfo: onFailure");delete g.returnValue;if(typeof f==="function"){f(g)}}})};d.prototype.setNetworkCheckupInfo=function(e,f,g){a.Request("luna://com.webos.service.commercial.signage.storageservice/network/",{method:"setNetworkCheckupInfo",parameters:g,onSuccess:function(h){delete h.returnValue;if(typeof e==="function"){e()}},onFailure:function(h){delete h.returnValue;if(typeof f==="function"){b(h,"DSIB","DeviceInfo.setNetworkCheckupInfo returns failure.");f(h)}}})};return d}());