solid-ui 2.4.20 → 2.4.21-c02550be

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 (244) hide show
  1. package/LICENSE.md +0 -0
  2. package/README.md +0 -0
  3. package/dist/index.html +0 -0
  4. package/dist/main.js +59 -45
  5. package/dist/main.js.map +1 -1
  6. package/lib/acl/access-controller.d.ts +0 -0
  7. package/lib/acl/access-controller.d.ts.map +0 -0
  8. package/lib/acl/access-controller.js +0 -0
  9. package/lib/acl/access-controller.js.map +0 -0
  10. package/lib/acl/access-groups.d.ts +0 -0
  11. package/lib/acl/access-groups.d.ts.map +0 -0
  12. package/lib/acl/access-groups.js +0 -0
  13. package/lib/acl/access-groups.js.map +0 -0
  14. package/lib/acl/acl-control.d.ts +0 -0
  15. package/lib/acl/acl-control.d.ts.map +0 -0
  16. package/lib/acl/acl-control.js +0 -0
  17. package/lib/acl/acl-control.js.map +0 -0
  18. package/lib/acl/acl.d.ts +0 -0
  19. package/lib/acl/acl.d.ts.map +0 -0
  20. package/lib/acl/acl.js +0 -0
  21. package/lib/acl/acl.js.map +0 -0
  22. package/lib/acl/add-agent-buttons.d.ts +0 -0
  23. package/lib/acl/add-agent-buttons.d.ts.map +0 -0
  24. package/lib/acl/add-agent-buttons.js +0 -0
  25. package/lib/acl/add-agent-buttons.js.map +0 -0
  26. package/lib/acl/index.d.ts +0 -0
  27. package/lib/acl/index.d.ts.map +0 -0
  28. package/lib/acl/index.js +0 -0
  29. package/lib/acl/index.js.map +0 -0
  30. package/lib/acl/styles.d.ts +0 -0
  31. package/lib/acl/styles.d.ts.map +0 -0
  32. package/lib/acl/styles.js +0 -0
  33. package/lib/acl/styles.js.map +0 -0
  34. package/lib/acl/types.d.ts +0 -0
  35. package/lib/acl/types.d.ts.map +0 -0
  36. package/lib/acl/types.js +0 -0
  37. package/lib/acl/types.js.map +0 -0
  38. package/lib/chat/bookmarks.js +0 -0
  39. package/lib/chat/bookmarks.js.map +0 -0
  40. package/lib/chat/chatLogic.js +0 -0
  41. package/lib/chat/chatLogic.js.map +0 -0
  42. package/lib/chat/dateFolder.js +0 -0
  43. package/lib/chat/dateFolder.js.map +0 -0
  44. package/lib/chat/infinite.js +0 -0
  45. package/lib/chat/infinite.js.map +0 -0
  46. package/lib/chat/message.js +0 -0
  47. package/lib/chat/message.js.map +0 -0
  48. package/lib/chat/messageTools.js +0 -0
  49. package/lib/chat/messageTools.js.map +0 -0
  50. package/lib/chat/thread.js +0 -0
  51. package/lib/chat/thread.js.map +0 -0
  52. package/lib/create/create.d.ts +0 -0
  53. package/lib/create/create.d.ts.map +0 -0
  54. package/lib/create/create.js +0 -0
  55. package/lib/create/create.js.map +0 -0
  56. package/lib/create/index.d.ts +0 -0
  57. package/lib/create/index.d.ts.map +0 -0
  58. package/lib/create/index.js +0 -0
  59. package/lib/create/index.js.map +0 -0
  60. package/lib/create/types.d.ts +0 -0
  61. package/lib/create/types.d.ts.map +0 -0
  62. package/lib/create/types.js +0 -0
  63. package/lib/create/types.js.map +0 -0
  64. package/lib/debug.d.ts +0 -0
  65. package/lib/debug.d.ts.map +0 -0
  66. package/lib/debug.js +0 -0
  67. package/lib/debug.js.map +0 -0
  68. package/lib/folders.js +0 -0
  69. package/lib/folders.js.map +0 -0
  70. package/lib/footer/index.d.ts +0 -0
  71. package/lib/footer/index.d.ts.map +0 -0
  72. package/lib/footer/index.js +0 -0
  73. package/lib/footer/index.js.map +0 -0
  74. package/lib/footer/styleMap.d.ts +0 -0
  75. package/lib/footer/styleMap.d.ts.map +0 -0
  76. package/lib/footer/styleMap.js +0 -0
  77. package/lib/footer/styleMap.js.map +0 -0
  78. package/lib/header/empty-profile.d.ts +0 -0
  79. package/lib/header/empty-profile.d.ts.map +0 -0
  80. package/lib/header/empty-profile.js +0 -0
  81. package/lib/header/empty-profile.js.map +0 -0
  82. package/lib/header/index.d.ts +0 -0
  83. package/lib/header/index.d.ts.map +0 -0
  84. package/lib/header/index.js +0 -0
  85. package/lib/header/index.js.map +0 -0
  86. package/lib/header/styleMap.d.ts +0 -0
  87. package/lib/header/styleMap.d.ts.map +0 -0
  88. package/lib/header/styleMap.js +0 -0
  89. package/lib/header/styleMap.js.map +0 -0
  90. package/lib/iconBase.d.ts +0 -0
  91. package/lib/iconBase.d.ts.map +0 -0
  92. package/lib/iconBase.js +0 -0
  93. package/lib/iconBase.js.map +0 -0
  94. package/lib/icons/solid_logo.d.ts +0 -0
  95. package/lib/icons/solid_logo.d.ts.map +0 -0
  96. package/lib/icons/solid_logo.js +0 -0
  97. package/lib/icons/solid_logo.js.map +0 -0
  98. package/lib/index.d.ts +0 -0
  99. package/lib/index.d.ts.map +0 -0
  100. package/lib/index.js +0 -0
  101. package/lib/index.js.map +0 -0
  102. package/lib/jss/index.d.ts +0 -0
  103. package/lib/jss/index.d.ts.map +0 -0
  104. package/lib/jss/index.js +0 -0
  105. package/lib/jss/index.js.map +0 -0
  106. package/lib/log.d.ts +0 -0
  107. package/lib/log.d.ts.map +0 -0
  108. package/lib/log.js +0 -0
  109. package/lib/log.js.map +0 -0
  110. package/lib/login/login.d.ts +0 -0
  111. package/lib/login/login.d.ts.map +0 -0
  112. package/lib/login/login.js +0 -0
  113. package/lib/login/login.js.map +0 -0
  114. package/lib/matrix/index.d.ts +0 -0
  115. package/lib/matrix/index.d.ts.map +0 -0
  116. package/lib/matrix/index.js +0 -0
  117. package/lib/matrix/index.js.map +0 -0
  118. package/lib/matrix/matrix.d.ts +0 -0
  119. package/lib/matrix/matrix.d.ts.map +0 -0
  120. package/lib/matrix/matrix.js +0 -0
  121. package/lib/matrix/matrix.js.map +0 -0
  122. package/lib/matrix/types.d.ts +0 -0
  123. package/lib/matrix/types.d.ts.map +0 -0
  124. package/lib/matrix/types.js +0 -0
  125. package/lib/matrix/types.js.map +0 -0
  126. package/lib/media/index.d.ts +0 -0
  127. package/lib/media/index.d.ts.map +0 -0
  128. package/lib/media/index.js +0 -0
  129. package/lib/media/index.js.map +0 -0
  130. package/lib/media/media-capture.d.ts +0 -0
  131. package/lib/media/media-capture.d.ts.map +0 -0
  132. package/lib/media/media-capture.js +0 -0
  133. package/lib/media/media-capture.js.map +0 -0
  134. package/lib/messageArea.js +0 -0
  135. package/lib/messageArea.js.map +0 -0
  136. package/lib/noun_Camera_1618446_000000.js +0 -0
  137. package/lib/noun_Camera_1618446_000000.js.map +0 -0
  138. package/lib/ns.js +0 -0
  139. package/lib/ns.js.map +0 -0
  140. package/lib/pad.d.ts +0 -0
  141. package/lib/pad.d.ts.map +0 -0
  142. package/lib/pad.js +0 -0
  143. package/lib/pad.js.map +0 -0
  144. package/lib/participation.d.ts +0 -0
  145. package/lib/participation.d.ts.map +0 -0
  146. package/lib/participation.js +0 -0
  147. package/lib/participation.js.map +0 -0
  148. package/lib/preferences.js +0 -0
  149. package/lib/preferences.js.map +0 -0
  150. package/lib/signup/config-default.js +0 -0
  151. package/lib/signup/config-default.js.map +0 -0
  152. package/lib/signup/signup.js +0 -0
  153. package/lib/signup/signup.js.map +0 -0
  154. package/lib/stories/decorators.js +0 -0
  155. package/lib/stories/decorators.js.map +0 -0
  156. package/lib/style.js +0 -0
  157. package/lib/style.js.map +0 -0
  158. package/lib/table.js +0 -0
  159. package/lib/table.js.map +0 -0
  160. package/lib/tabs.d.ts +0 -0
  161. package/lib/tabs.d.ts.map +0 -0
  162. package/lib/tabs.js +0 -0
  163. package/lib/tabs.js.map +0 -0
  164. package/lib/typings.d.js +0 -0
  165. package/lib/typings.d.js.map +0 -0
  166. package/lib/utils/headerFooterHelpers.d.ts +0 -0
  167. package/lib/utils/headerFooterHelpers.d.ts.map +1 -1
  168. package/lib/utils/headerFooterHelpers.js +44 -28
  169. package/lib/utils/headerFooterHelpers.js.map +1 -1
  170. package/lib/utils/index.js +0 -0
  171. package/lib/utils/index.js.map +0 -0
  172. package/lib/utils/label.d.ts +0 -0
  173. package/lib/utils/label.d.ts.map +0 -0
  174. package/lib/utils/label.js +0 -0
  175. package/lib/utils/label.js.map +0 -0
  176. package/lib/versionInfo.d.ts +9 -11
  177. package/lib/versionInfo.d.ts.map +1 -1
  178. package/lib/versionInfo.js +14 -16
  179. package/lib/versionInfo.js.map +1 -1
  180. package/lib/widgets/buttons/iconLinks.d.ts +0 -0
  181. package/lib/widgets/buttons/iconLinks.d.ts.map +0 -0
  182. package/lib/widgets/buttons/iconLinks.js +0 -0
  183. package/lib/widgets/buttons/iconLinks.js.map +0 -0
  184. package/lib/widgets/buttons.d.ts +0 -0
  185. package/lib/widgets/buttons.d.ts.map +0 -0
  186. package/lib/widgets/buttons.js +0 -0
  187. package/lib/widgets/buttons.js.map +0 -0
  188. package/lib/widgets/dragAndDrop.js +1 -1
  189. package/lib/widgets/dragAndDrop.js.map +1 -1
  190. package/lib/widgets/error.d.ts +0 -0
  191. package/lib/widgets/error.d.ts.map +0 -0
  192. package/lib/widgets/error.js +0 -0
  193. package/lib/widgets/error.js.map +0 -0
  194. package/lib/widgets/forms/autocomplete/autocompleteBar.d.ts +0 -0
  195. package/lib/widgets/forms/autocomplete/autocompleteBar.d.ts.map +0 -0
  196. package/lib/widgets/forms/autocomplete/autocompleteBar.js +0 -0
  197. package/lib/widgets/forms/autocomplete/autocompleteBar.js.map +0 -0
  198. package/lib/widgets/forms/autocomplete/autocompleteField.d.ts +0 -0
  199. package/lib/widgets/forms/autocomplete/autocompleteField.d.ts.map +0 -0
  200. package/lib/widgets/forms/autocomplete/autocompleteField.js +0 -0
  201. package/lib/widgets/forms/autocomplete/autocompleteField.js.map +0 -0
  202. package/lib/widgets/forms/autocomplete/autocompletePicker.d.ts +0 -0
  203. package/lib/widgets/forms/autocomplete/autocompletePicker.d.ts.map +0 -0
  204. package/lib/widgets/forms/autocomplete/autocompletePicker.js +0 -0
  205. package/lib/widgets/forms/autocomplete/autocompletePicker.js.map +0 -0
  206. package/lib/widgets/forms/autocomplete/language.d.ts +0 -0
  207. package/lib/widgets/forms/autocomplete/language.d.ts.map +0 -0
  208. package/lib/widgets/forms/autocomplete/language.js +0 -0
  209. package/lib/widgets/forms/autocomplete/language.js.map +0 -0
  210. package/lib/widgets/forms/autocomplete/publicData.d.ts +0 -0
  211. package/lib/widgets/forms/autocomplete/publicData.d.ts.map +0 -0
  212. package/lib/widgets/forms/autocomplete/publicData.js +0 -0
  213. package/lib/widgets/forms/autocomplete/publicData.js.map +0 -0
  214. package/lib/widgets/forms/basic.d.ts +0 -0
  215. package/lib/widgets/forms/basic.d.ts.map +0 -0
  216. package/lib/widgets/forms/basic.js +0 -0
  217. package/lib/widgets/forms/basic.js.map +0 -0
  218. package/lib/widgets/forms/comment.d.ts +0 -0
  219. package/lib/widgets/forms/comment.d.ts.map +0 -0
  220. package/lib/widgets/forms/comment.js +0 -0
  221. package/lib/widgets/forms/comment.js.map +0 -0
  222. package/lib/widgets/forms/fieldFunction.d.ts +0 -0
  223. package/lib/widgets/forms/fieldFunction.d.ts.map +0 -0
  224. package/lib/widgets/forms/fieldFunction.js +0 -0
  225. package/lib/widgets/forms/fieldFunction.js.map +0 -0
  226. package/lib/widgets/forms/fieldParams.d.ts +0 -0
  227. package/lib/widgets/forms/fieldParams.d.ts.map +0 -0
  228. package/lib/widgets/forms/fieldParams.js +0 -0
  229. package/lib/widgets/forms/fieldParams.js.map +0 -0
  230. package/lib/widgets/forms/formStyle.d.ts +0 -0
  231. package/lib/widgets/forms/formStyle.d.ts.map +0 -0
  232. package/lib/widgets/forms/formStyle.js +0 -0
  233. package/lib/widgets/forms/formStyle.js.map +0 -0
  234. package/lib/widgets/forms.js +0 -0
  235. package/lib/widgets/forms.js.map +0 -0
  236. package/lib/widgets/index.js +0 -0
  237. package/lib/widgets/index.js.map +0 -0
  238. package/lib/widgets/peoplePicker.js +0 -0
  239. package/lib/widgets/peoplePicker.js.map +0 -0
  240. package/lib/widgets/widgetHelpers.d.ts +0 -0
  241. package/lib/widgets/widgetHelpers.d.ts.map +0 -0
  242. package/lib/widgets/widgetHelpers.js +0 -0
  243. package/lib/widgets/widgetHelpers.js.map +0 -0
  244. package/package.json +4 -3
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/acl/acl.d.ts CHANGED
File without changes
File without changes
package/lib/acl/acl.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/acl/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/lib/acl/styles.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/lib/acl/types.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/debug.d.ts CHANGED
File without changes
File without changes
package/lib/debug.js CHANGED
File without changes
package/lib/debug.js.map CHANGED
File without changes
package/lib/folders.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/iconBase.d.ts CHANGED
File without changes
File without changes
package/lib/iconBase.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/index.d.ts CHANGED
File without changes
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/index.js.map CHANGED
File without changes
File without changes
File without changes
package/lib/jss/index.js CHANGED
File without changes
File without changes
package/lib/log.d.ts CHANGED
File without changes
package/lib/log.d.ts.map CHANGED
File without changes
package/lib/log.js CHANGED
File without changes
package/lib/log.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/ns.js CHANGED
File without changes
package/lib/ns.js.map CHANGED
File without changes
package/lib/pad.d.ts CHANGED
File without changes
package/lib/pad.d.ts.map CHANGED
File without changes
package/lib/pad.js CHANGED
File without changes
package/lib/pad.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/style.js CHANGED
File without changes
package/lib/style.js.map CHANGED
File without changes
package/lib/table.js CHANGED
File without changes
package/lib/table.js.map CHANGED
File without changes
package/lib/tabs.d.ts CHANGED
File without changes
package/lib/tabs.d.ts.map CHANGED
File without changes
package/lib/tabs.js CHANGED
File without changes
package/lib/tabs.js.map CHANGED
File without changes
package/lib/typings.d.js CHANGED
File without changes
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"headerFooterHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/headerFooterHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAO,MAAM,QAAQ,CAAA;AAOlE,aAAK,eAAe,GAAG;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAYD;;GAEG;AACH,wBAAgB,sBAAsB,CAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,QAM1F;AACD;;GAEG;AACH,wBAAgB,MAAM,IAAK,SAAS,CAGnC;AACD;GACG;AACH,wBAAsB,WAAW,CAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CA+C9F;AACD;;GAEG;AACH,wBAAgB,OAAO,CAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAIvE;AACD;;GAEG;AACH,wBAAgB,QAAQ,CAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,eAAoB,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAgC9G"}
1
+ {"version":3,"file":"headerFooterHelpers.d.ts","sourceRoot":"","sources":["../../src/utils/headerFooterHelpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAc,MAAM,QAAQ,CAAA;AAOzE,aAAK,eAAe,GAAG;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAA;AAYD;;GAEG;AACH,wBAAgB,sBAAsB,CAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,QAM1F;AACD;;GAEG;AACH,wBAAgB,MAAM,IAAK,SAAS,CAGnC;AACD;GACG;AACH,wBAAsB,WAAW,CAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAkD9F;AACD;;GAEG;AACH,wBAAgB,OAAO,CAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAIvE;AACD;;GAEG;AACH,wBAAgB,QAAQ,CAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,eAAoB,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAgC9G"}
@@ -79,94 +79,110 @@ function getPodOwner(_x, _x2) {
79
79
 
80
80
  function _getPodOwner() {
81
81
  _getPodOwner = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(pod, store) {
82
- var podOwner, guess;
82
+ var response, containerTurtle, podOwner, guess;
83
83
  return _regenerator["default"].wrap(function _callee$(_context) {
84
84
  while (1) {
85
85
  switch (_context.prev = _context.next) {
86
86
  case 0:
87
87
  _context.prev = 0;
88
- // @ts-ignore LiveStore always has fetcher
89
- store.fetcher.load(pod);
90
- _context.next = 8;
91
- break;
88
+
89
+ if (store.any(pod, null, _.ns.ldp('Container'), pod)) {
90
+ _context.next = 7;
91
+ break;
92
+ }
93
+
94
+ _context.next = 4;
95
+ return store.fetcher.webOperation('GET', pod.uri, store.fetcher.initFetchOptions(pod.uri, {
96
+ headers: {
97
+ accept: 'text/turtle'
98
+ }
99
+ }));
92
100
 
93
101
  case 4:
94
- _context.prev = 4;
102
+ response = _context.sent;
103
+ containerTurtle = response.responseText;
104
+ (0, _rdflib.parse)(containerTurtle, store, pod.uri, 'text/turtle');
105
+
106
+ case 7:
107
+ _context.next = 13;
108
+ break;
109
+
110
+ case 9:
111
+ _context.prev = 9;
95
112
  _context.t0 = _context["catch"](0);
96
113
  console.error('Error loading pod ' + pod + ': ' + _context.t0);
97
114
  return _context.abrupt("return", null);
98
115
 
99
- case 8:
116
+ case 13:
100
117
  if (store.holds(pod, _.ns.rdf('type'), _.ns.space('Storage'), pod)) {
101
- _context.next = 11;
118
+ _context.next = 16;
102
119
  break;
103
120
  }
104
121
 
105
122
  console.warn('Pod ' + pod + ' does not declare itself as a space:Storage');
106
123
  return _context.abrupt("return", null);
107
124
 
108
- case 11:
125
+ case 16:
109
126
  podOwner = store.any(pod, _.ns.solid('owner'), null, pod) || store.any(null, _.ns.space('storage'), pod, pod);
110
127
 
111
128
  if (!podOwner) {
112
- _context.next = 25;
129
+ _context.next = 30;
113
130
  break;
114
131
  }
115
132
 
116
- _context.prev = 13;
117
- // @ts-ignore LiveStore always has fetcher
133
+ _context.prev = 18;
118
134
  store.fetcher.load(podOwner.doc());
119
- _context.next = 21;
135
+ _context.next = 26;
120
136
  break;
121
137
 
122
- case 17:
123
- _context.prev = 17;
124
- _context.t1 = _context["catch"](13);
138
+ case 22:
139
+ _context.prev = 22;
140
+ _context.t1 = _context["catch"](18);
125
141
  console.warn('Unable to load profile of pod owner ' + podOwner);
126
142
  return _context.abrupt("return", null);
127
143
 
128
- case 21:
144
+ case 26:
129
145
  if (!store.holds(podOwner, _.ns.space('storage'), pod, podOwner.doc())) {
130
146
  console.warn("Pod owner ".concat(podOwner, " does NOT list pod ").concat(pod, " as their storage"));
131
147
  }
132
148
 
133
149
  return _context.abrupt("return", podOwner);
134
150
 
135
- case 25:
151
+ case 30:
136
152
  // pod owner not declared in pod
137
153
  // @@ TODO: This is given the structure that NSS provides
138
154
  // This is a massive guess. For old pods which don't have owner link
139
155
  guess = (0, _rdflib.sym)("".concat(pod.uri, "profile/card#me"));
140
- _context.prev = 26;
156
+ _context.prev = 31;
141
157
  // @ts-ignore LiveStore always has fetcher
142
158
  store.fetcher.load(guess);
143
- _context.next = 34;
159
+ _context.next = 39;
144
160
  break;
145
161
 
146
- case 30:
147
- _context.prev = 30;
148
- _context.t2 = _context["catch"](26);
162
+ case 35:
163
+ _context.prev = 35;
164
+ _context.t2 = _context["catch"](31);
149
165
  console.error('Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.');
150
166
  return _context.abrupt("return", null);
151
167
 
152
- case 34:
168
+ case 39:
153
169
  if (!store.holds(guess, _.ns.space('storage'), pod, guess.doc())) {
154
- _context.next = 37;
170
+ _context.next = 42;
155
171
  break;
156
172
  }
157
173
 
158
174
  console.warn('Using guessed pod owner webid but it links back.');
159
175
  return _context.abrupt("return", guess);
160
176
 
161
- case 37:
177
+ case 42:
162
178
  return _context.abrupt("return", null);
163
179
 
164
- case 38:
180
+ case 43:
165
181
  case "end":
166
182
  return _context.stop();
167
183
  }
168
184
  }
169
- }, _callee, null, [[0, 4], [13, 17], [26, 30]]);
185
+ }, _callee, null, [[0, 9], [18, 22], [31, 35]]);
170
186
  }));
171
187
  return _getPodOwner.apply(this, arguments);
172
188
  }