@clickview/streamable-learning 0.9.0 → 0.9.1-rc.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 (96) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/254-streamable-learning-e493f4a027.chunk.css +2 -0
  3. package/dist/css/{335-streamable-learning-fb6893dc3d.chunk.css → 335-streamable-learning-c606379281.chunk.css} +1 -1
  4. package/dist/css/{423-streamable-learning-1cfeeb77c0.chunk.css → 351-streamable-learning-21d81161f9.chunk.css} +4 -2
  5. package/dist/css/352-streamable-learning-9e6986fa70.chunk.css +5 -0
  6. package/dist/css/{788-streamable-learning-6118dc2815.chunk.css → 464-streamable-learning-1b6720690a.chunk.css} +1 -1
  7. package/dist/css/{105-streamable-learning-1eacc6b846.chunk.css → 465-streamable-learning-de4ad9fcc0.chunk.css} +1 -1
  8. package/dist/css/{587-streamable-learning-ac2443aa1b.chunk.css → 531-streamable-learning-2133735cd0.chunk.css} +4 -2
  9. package/dist/css/{18-streamable-learning-cdd2fd9967.chunk.css → 584-streamable-learning-141049cbf7.chunk.css} +1 -1
  10. package/dist/css/{892-streamable-learning-a8ea5aa486.chunk.css → 892-streamable-learning-56a9a6c105.chunk.css} +1 -1
  11. package/dist/css/908-streamable-learning-4aea57c55b.chunk.css +13 -0
  12. package/dist/css/{967-streamable-learning-4df822d203.chunk.css → 967-streamable-learning-37b53e86e9.chunk.css} +1 -1
  13. package/dist/css/{streamable-learning-fee2be1443.css → streamable-learning-25d9d78842.css} +1 -1
  14. package/dist/languages/en.json +1 -1
  15. package/dist/scripts/109-311890386b-streamable-learning.chunk.js +1 -0
  16. package/dist/scripts/146-623ceab4ae-streamable-learning.chunk.js +1 -0
  17. package/dist/scripts/{173-aaf002a53f-streamable-learning.chunk.js → 173-f64169060d-streamable-learning.chunk.js} +1 -1
  18. package/dist/scripts/254-4dcca28a1a-streamable-learning.chunk.js +1 -0
  19. package/dist/scripts/284-7244ec0668-streamable-learning.chunk.js +1 -0
  20. package/dist/scripts/301-b7a30dc516-streamable-learning.chunk.js +1 -0
  21. package/dist/scripts/335-a6ad2710e7-streamable-learning.chunk.js +2 -0
  22. package/dist/scripts/343-3d883cf7c1-streamable-learning.chunk.js +1 -0
  23. package/dist/scripts/351-3d85773ce6-streamable-learning.chunk.js +1 -0
  24. package/dist/scripts/352-04e51734c0-streamable-learning.chunk.js +1 -0
  25. package/dist/scripts/358-b0f5618336-streamable-learning.chunk.js +1 -0
  26. package/dist/scripts/38-375ff4a98a-streamable-learning.chunk.js +1 -0
  27. package/dist/scripts/411-978d44470d-streamable-learning.chunk.js +1 -0
  28. package/dist/scripts/464-d942ad5048-streamable-learning.chunk.js +1 -0
  29. package/dist/scripts/465-07f8d0dae3-streamable-learning.chunk.js +1 -0
  30. package/dist/scripts/{506-880d79e0db-streamable-learning.chunk.js → 506-6196d241b6-streamable-learning.chunk.js} +1 -1
  31. package/dist/scripts/513-fb37f56711-streamable-learning.chunk.js +1 -0
  32. package/dist/scripts/531-cf2829acb5-streamable-learning.chunk.js +2 -0
  33. package/dist/scripts/546-967cd7dd52-streamable-learning.chunk.js +1 -0
  34. package/dist/scripts/549-a2b5f8f0bb-streamable-learning.chunk.js +2 -0
  35. package/dist/scripts/{559-a0166405de-streamable-learning.chunk.js → 559-be944d9d25-streamable-learning.chunk.js} +1 -1
  36. package/dist/scripts/584-4bff35e77b-streamable-learning.chunk.js +1 -0
  37. package/dist/scripts/{596-8dc1f1a553-streamable-learning.chunk.js → 596-cac14bbbe4-streamable-learning.chunk.js} +1 -1
  38. package/dist/scripts/64-c614bdfe8f-streamable-learning.chunk.js +1 -0
  39. package/dist/scripts/662-1566805a8a-streamable-learning.chunk.js +1 -0
  40. package/dist/scripts/664-4d73fe8982-streamable-learning.chunk.js +2 -0
  41. package/dist/scripts/700-1c7123fc45-streamable-learning.chunk.js +1 -0
  42. package/dist/scripts/790-8ae9044e35-streamable-learning.chunk.js +1 -0
  43. package/dist/scripts/{892-3b8249ce56-streamable-learning.chunk.js → 892-bc7aa1de23-streamable-learning.chunk.js} +2 -2
  44. package/dist/scripts/90-9967a939e7-streamable-learning.chunk.js +1 -0
  45. package/dist/scripts/908-00a14cdbc7-streamable-learning.chunk.js +2 -0
  46. package/dist/scripts/908-00a14cdbc7-streamable-learning.chunk.js.LICENSE.txt +1 -0
  47. package/dist/scripts/933-cf89b00d4c-streamable-learning.chunk.js +1 -0
  48. package/dist/scripts/958-0bf7ad0c08-streamable-learning.chunk.js +1 -0
  49. package/dist/scripts/967-d3988450c0-streamable-learning.chunk.js +1 -0
  50. package/dist/scripts/987-21c39c34cb-streamable-learning.chunk.js +1 -0
  51. package/dist/scripts/bundle-206ffb37d6.min.js +2 -0
  52. package/package.json +1 -1
  53. package/dist/css/254-streamable-learning-8e088350b1.chunk.css +0 -2
  54. package/dist/css/352-streamable-learning-8a6b8255b4.chunk.css +0 -5
  55. package/dist/scripts/105-a3bf9f5139-streamable-learning.chunk.js +0 -1
  56. package/dist/scripts/109-3142272a70-streamable-learning.chunk.js +0 -1
  57. package/dist/scripts/121-db697ff092-streamable-learning.chunk.js +0 -1
  58. package/dist/scripts/146-088a50f0e1-streamable-learning.chunk.js +0 -1
  59. package/dist/scripts/18-8badbc1cfa-streamable-learning.chunk.js +0 -1
  60. package/dist/scripts/213-bad10e2177-streamable-learning.chunk.js +0 -1
  61. package/dist/scripts/254-6e1b03e5c0-streamable-learning.chunk.js +0 -1
  62. package/dist/scripts/284-5097e47a29-streamable-learning.chunk.js +0 -1
  63. package/dist/scripts/325-3b5dd0c00f-streamable-learning.chunk.js +0 -1
  64. package/dist/scripts/335-658405fc9e-streamable-learning.chunk.js +0 -2
  65. package/dist/scripts/343-277a570bae-streamable-learning.chunk.js +0 -1
  66. package/dist/scripts/352-19f35a113b-streamable-learning.chunk.js +0 -1
  67. package/dist/scripts/38-52e28405d2-streamable-learning.chunk.js +0 -1
  68. package/dist/scripts/411-c8e55c39f3-streamable-learning.chunk.js +0 -1
  69. package/dist/scripts/423-b7eef975ee-streamable-learning.chunk.js +0 -1
  70. package/dist/scripts/437-e7da744b82-streamable-learning.chunk.js +0 -1
  71. package/dist/scripts/546-c77819741c-streamable-learning.chunk.js +0 -1
  72. package/dist/scripts/549-70744030c1-streamable-learning.chunk.js +0 -2
  73. package/dist/scripts/587-688ad855df-streamable-learning.chunk.js +0 -2
  74. package/dist/scripts/627-34cc98cebd-streamable-learning.chunk.js +0 -2
  75. package/dist/scripts/700-fd88e0626c-streamable-learning.chunk.js +0 -1
  76. package/dist/scripts/730-12da2eddee-streamable-learning.chunk.js +0 -1
  77. package/dist/scripts/788-73d486f3ff-streamable-learning.chunk.js +0 -1
  78. package/dist/scripts/790-ab14f2c659-streamable-learning.chunk.js +0 -1
  79. package/dist/scripts/933-51acdec180-streamable-learning.chunk.js +0 -1
  80. package/dist/scripts/954-e7beb18563-streamable-learning.chunk.js +0 -1
  81. package/dist/scripts/958-34ccd07dd2-streamable-learning.chunk.js +0 -1
  82. package/dist/scripts/967-40556d24e9-streamable-learning.chunk.js +0 -1
  83. package/dist/scripts/978-b22df965ef-streamable-learning.chunk.js +0 -1
  84. package/dist/scripts/979-393445cd46-streamable-learning.chunk.js +0 -1
  85. package/dist/scripts/987-6e6cb6c66c-streamable-learning.chunk.js +0 -1
  86. package/dist/scripts/bundle-04ec0fd86c.min.js +0 -2
  87. /package/dist/css/{437-streamable-learning-47a3703051.chunk.css → 301-streamable-learning-47a3703051.chunk.css} +0 -0
  88. /package/dist/css/{730-streamable-learning-6dc93ba4b5.chunk.css → 662-streamable-learning-6dc93ba4b5.chunk.css} +0 -0
  89. /package/dist/scripts/{335-658405fc9e-streamable-learning.chunk.js.LICENSE.txt → 335-a6ad2710e7-streamable-learning.chunk.js.LICENSE.txt} +0 -0
  90. /package/dist/scripts/{446-a55b3e48f4-streamable-learning.chunk.js → 446-2a9deef4f3-streamable-learning.chunk.js} +0 -0
  91. /package/dist/scripts/{549-70744030c1-streamable-learning.chunk.js.LICENSE.txt → 531-cf2829acb5-streamable-learning.chunk.js.LICENSE.txt} +0 -0
  92. /package/dist/scripts/{587-688ad855df-streamable-learning.chunk.js.LICENSE.txt → 549-a2b5f8f0bb-streamable-learning.chunk.js.LICENSE.txt} +0 -0
  93. /package/dist/scripts/{627-34cc98cebd-streamable-learning.chunk.js.LICENSE.txt → 664-4d73fe8982-streamable-learning.chunk.js.LICENSE.txt} +0 -0
  94. /package/dist/scripts/{892-3b8249ce56-streamable-learning.chunk.js.LICENSE.txt → 892-bc7aa1de23-streamable-learning.chunk.js.LICENSE.txt} +0 -0
  95. /package/dist/scripts/{925-fe7566e0ee-streamable-learning.chunk.js → 925-8e56c4d3c5-streamable-learning.chunk.js} +0 -0
  96. /package/dist/scripts/{bundle-04ec0fd86c.min.js.LICENSE.txt → bundle-206ffb37d6.min.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/streamable-learning",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-rc.0",
4
4
  "description": "Streamable Learning",
5
5
  "main": "dist/scripts/bundle.js",
6
6
  "scripts": {
@@ -1,2 +0,0 @@
1
- .Hdi6o{border-radius:.6rem}.Hdi6o li{border-radius:0;min-width:7rem}.Hdi6o li:first-child{border-top-left-radius:.6rem;border-bottom-left-radius:.6rem}.Hdi6o li:last-child{border-top-right-radius:.6rem;border-bottom-right-radius:.6rem}.Hdi6o li:not(:first-child){border-left:none}.Hdi6o li:not(:last-child){border-right:none}.Hdi6o .hUJx1{padding-top:.53125rem;padding-bottom:.53125rem}
2
- @media(max-width: 767.98px){.Vrjid li{min-width:5rem}}
@@ -1,5 +0,0 @@
1
- .jEh7m:not(:empty){min-height:1.5rem}.WQ2eS{background-color:rgba(255,147,0,.1);color:#ff9300}.z4DeQ{background-color:rgba(217,88,79,.1);color:#d9584f}.D_2nt{background-color:#149a54}
2
- .Hdi6o{border-radius:.6rem}.Hdi6o li{border-radius:0;min-width:7rem}.Hdi6o li:first-child{border-top-left-radius:.6rem;border-bottom-left-radius:.6rem}.Hdi6o li:last-child{border-top-right-radius:.6rem;border-bottom-right-radius:.6rem}.Hdi6o li:not(:first-child){border-left:none}.Hdi6o li:not(:last-child){border-right:none}.Hdi6o .hUJx1{padding-top:.53125rem;padding-bottom:.53125rem}
3
- @media(max-width: 767.98px){.Vrjid li{min-width:5rem}}
4
- .VwD1b{color:#313543}.eJ85e{width:1.75rem;height:1.75rem}
5
- .ydlqI{width:8rem;height:8rem}
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[105],{78259:(e,t,n)=>{n.d(t,{O:()=>l});var a=n(58176),r=n.n(a),i=n(21161),o={className:"info-link",defaultProtocol:"https"},l={linkifyText:function(e,t){if(e){var n=t?i.extend({},o,t):o;return r()(e,n)}}}},23062:(e,t,n)=>{n.d(t,{b:()=>g});var a=n(32735),r=n(110),i=n(78259),o=n(92582),l=n(65858),c=n(79878),s=n(12324),u=n(42735),m=n(57408),d=n(85473),p=n(2284),v=n(54610),f=n(67453);const y={modalWidth:"SgHYb",banner:"PLw1p",pill:"UNBr0",logo:"xv_tc"};function g(e){var t,n,g,h,b,E=e.getAppLink(e.event.content.id,e.event.name),k=null===(t=e.getBackgroundColor)||void 0===t?void 0:t.call(e,e.event.content),O=null===(n=e.getIconUrl)||void 0===n?void 0:n.call(e,e.event.content),D=null===(g=e.getBannerUrl)||void 0===g?void 0:g.call(e,e.event.content),w=!!e.event.endDate,M=e.event.content.status===p.W.ComingSoon,L=null===(h=e.getStartTime)||void 0===h?void 0:h.call(e,e.event.content),S=null===(b=e.getActionLabel)||void 0===b?void 0:b.call(e),C={actionType:l.Vw.Click,entity:l.py.SpecialEvent,location:e.inPopup?l.LZ.CalendarPopup:l.LZ.CalendarDay},T={topicId:e.event.content.id,eventId:e.event.specialEventId,presentationId:e.presentationId,date:r.O.format(new Date(e.event.startDate),"YYYY-MM-DD"),status:e.event.content.status};return a.createElement("div",null,L&&a.createElement("h6",null,L),a.createElement("div",{onClick:function(){M&&o.k.logUserAction(T,C)}},a.createElement(m.F,{appLink:!M&&E,className:"".concat(M?"":"cursor-pointer"," text-decoration-none"),onClick:e.onClick,analyticsOptions:C,analyticsData:T},a.createElement("div",{className:"banner rounded-3 position-relative ".concat(y.banner),style:{backgroundColor:k,backgroundImage:"url('".concat(f.j.createUrl(D,{size:v.h2.Large}),"')")}},a.createElement("div",{className:"d-flex justify-content-between align-items-center w-100 h-100 px-3"},a.createElement("div",{className:"d-flex align-items-center"},O&&a.createElement("div",{className:"".concat(y.logo," rounded-circle flex-shrink-0 overflow-hidden me-2")},a.createElement(d.Z,{data:O})),a.createElement("div",{className:"text-white"},M&&a.createElement(c.r,{className:"pe-2 fw-semibold mb-1 rounded-pill justify-content-start ".concat(y.pill)}),w&&a.createElement("div",{className:"mb-1"},s.T.getDisplayDate(e.event.startDate,e.event.endDate)),a.createElement("h2",{className:"h4 text-white text-shadow ".concat(e.event.description?"clamp-2":"clamp-1"),title:e.event.name},e.event.name))),a.createElement("div",{className:"d-none d-sm-block flex-shrink-0"},!M&&a.createElement(u.K,{className:"btn btn-outline-dark fw-semibold"},S))))),a.createElement("div",{className:"mt-2 mb-3 pre-wrap text-break",dangerouslySetInnerHTML:{__html:i.O.linkifyText(e.event.description||e.event.content.description)}})))}},40861:(e,t,n)=>{n.d(t,{D:()=>f});var a=n(32735),r=n(39202),i=n(23481),o=n(65858),l=n(92582),c=n(57408),s=n(18559),u=n(11607);const m={pillTabSelector:"Hdi6o",pillItem:"hUJx1"};function d(e){var t;return a.createElement("nav",{className:null!==(t=e.className)&&void 0!==t?t:""},a.createElement("ul",{className:"list-unstyled d-inline-block m-0 ".concat(m.pillTabSelector)},e.tabs.map((function(e){return a.createElement("li",{className:"p-0 ".concat(e.active?"btn btn-dark":"btn btn-outline-dark"),key:e.name},e.appLink?a.createElement(c.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"cursor-pointer d-flex justify-content-center text-decoration-none text-reset px-2 ".concat(m.pillItem)},e.name,"number"==typeof e.count&&a.createElement("div",{className:"ps-2"},a.createElement(s.C,{type:s.g.Count,data:e.count}))):a.createElement(u.L,{className:"".concat(m.pillItem," d-flex justify-content-center p-2"),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&l.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},e.name,"number"==typeof e.count&&a.createElement("div",{className:"ps-2"},a.createElement(s.C,{type:s.g.Count,data:e.count}))))}))))}const p={pillTab:"Vrjid"};var v="streamable.header";function f(e){var t,n,l,c,s,u,m=[{name:i.T.getPhrase(v,"heading"),appLink:null===(t=e.appLinks)||void 0===t?void 0:t.discover,active:"discover"===e.active,analyticsData:{name:i.T.getPhrase(v,"heading"),url:r.C$.getHref(null===(n=e.appLinks)||void 0===n?void 0:n.discover)},analyticsOptions:{actionType:o.Vw.Click,entity:o.py.Url,location:o.LZ.MagicTabs}},{name:i.T.getPhrase(v,"livestreams"),appLink:null===(l=e.appLinks)||void 0===l?void 0:l.calendar,active:"calendar"===e.active,analyticsData:{name:i.T.getPhrase(v,"livestreams"),url:r.C$.getHref(null===(c=e.appLinks)||void 0===c?void 0:c.calendar)},analyticsOptions:{actionType:o.Vw.Click,entity:o.py.Url,location:o.LZ.MagicTabs}},{name:i.T.getPhrase(v,"partners"),appLink:null===(s=e.appLinks)||void 0===s?void 0:s.partners,active:"partners"===e.active,analyticsData:{name:i.T.getPhrase(v,"partners"),url:r.C$.getHref(null===(u=e.appLinks)||void 0===u?void 0:u.partners)},analyticsOptions:{actionType:o.Vw.Click,entity:o.py.Url,location:o.LZ.MagicTabs}}];return a.createElement("div",{className:"py-3 text-center"},a.createElement(d,{tabs:m,className:p.pillTab}))}},54168:(e,t,n)=>{n.d(t,{d:()=>l});var a=n(32735),r=n(40290),i=n(83914),o=n(35223);function l(){var e;return a.createElement("div",null,a.createElement(i.x,{svgName:o.vn.Globe}),a.createElement("span",{className:"ms-1"},null===(e=r.F[r.r.EST])||void 0===e?void 0:e.name))}},40290:(e,t,n)=>{function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var r;n.d(t,{F:()=>s,r:()=>r}),function(e){e.EST="Eastern Standard Time"}(r||(r={}));var i,o,l,c,s=(i={},l={name:"Eastern Time",timezone:"America/New_York",code:"EST"},c=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o=r.EST),(o="symbol"==a(c)?c:c+"")in i?Object.defineProperty(i,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[o]=l,i)},59795:(e,t,n)=>{n.d(t,{t:()=>i});var a=n(110),r=n(40290),i={convertToUTCString:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.r.EST;return e?a.O.getUtcStringByTimezone(e,r.F[t].timezone):""},convertUTCToTimezoneDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.r.EST;if(!e)return new Date;var n=e.includes("Z")?e:"".concat(e,"Z"),a=new Date(n),i=new Intl.DateTimeFormat("en-US",{timeZone:r.F[t].timezone,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(a);return new Date(i)}}},85473:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(32735),r=n(1048),i=n(57408),o=n(16107),l=n(54610),c=n(67453);const s={image:"vdd4V",thumbnail:"Ez0E7",tallPoster:"H9bQA",cover:"Nudts",banner:"IOvDH",poster:"iiY56",pdf:"aDJiJ",link:"wDpui"};function u(e){var t=s.image,n="";return e.imageType===l.__.Thumbnails&&(n="thumbnail ".concat(s.thumbnail)),e.imageType===l.__.TallPosters&&(n=s.tallPoster),e.imageType===l.__.Covers&&(n=s.cover),e.imageType===l.__.Banners&&(n=s.banner),e.imageType===l.__.Posters&&(n=s.poster),e.imageType===l.__.Pdf&&(n=s.pdf),e.imageType===l.__.Link&&(n=s.link),n&&(t+=" ".concat(n)),e.className&&(t+=" ".concat(e.className)),t}function m(e){var t=e.data,n=e.imageOptions,l=e.appLink,s=e.preload,m=e.preventLoad,d=e.analyticsOptions,p=e.analyticsData,v=e.imageClassName,f=e.alt,y="";"string"==typeof t?y=t:r.t.isObject(t)&&(y=t.url);var g=y&&n?c.j.createUrl(y,n):y;return a.createElement("div",{className:u(e),style:e.imageStyle},a.createElement(i.F,{appLink:l,analyticsData:p,analyticsOptions:d,onClick:e.onClick},e.children,g&&a.createElement(o.w,{src:g,alt:f,forceLoad:s,preventLoad:m,extraClasses:v,errorFallbackImageSrc:e.errorFallbackImageSrc,errorFallbackImageClassName:e.errorFallbackImageClassName})))}},89454:(e,t,n)=>{n.d(t,{O:()=>i});var a=n(97395),r=n(25925),i={presentationAudiences:function(e,t){var n=t||r.R.Subject.toLowerCase(),i={type:n,presentationId:e};return{bootstrapName:"presentationAudiences",url:a._.urlBuilder("/api/domain/v1/subjects/audiences",i),publicUrl:a._.urlBuilder("/api/subjects/presentation/".concat(e,"/audiences"),i),key:"presentation:audiences:".concat(e,":").concat(n),normalize:!1}},audiencesByPresentationId:function(e){return{url:"/api/domain/v1/subjects/presentations/".concat(e,"/audiences"),publicUrl:a._.urlBuilder("/api/subjects/presentation/".concat(e,"/audiences"),{type:r.R.Subject.toLowerCase(),presentationId:e}),key:"presentation:".concat(e,":audiences"),normalize:!1}}}},81514:(e,t,n)=>{n.d(t,{V:()=>i});var a=n(86764),r=n(3747);function i(){var e=(0,r.a)(a.r.XS),t=(0,r.a)(a.r.SM),n=(0,r.a)(a.r.MD),i=(0,r.a)(a.r.LG),o=(0,r.a)(a.r.XL),l=(0,r.a)(a.r.XXL),c=a.r.LG;return e&&(c=a.r.XS),t&&(c=a.r.SM),n&&(c=a.r.MD),i&&(c=a.r.LG),o&&(c=a.r.XL),l&&(c=a.r.XXL),c}},26255:(e,t,n)=>{n.d(t,{y:()=>i});var a=n(110),r=n(59795),i={getStartTime:function(e){return a.O.format(r.t.convertUTCToTimezoneDate(e.startDateTime),"h:mm a")},isSameTime:function(e,t){return 0!==t&&a.O.isSame(e[t].content.startDateTime,e[t-1].content.startDateTime)}}},42553:(e,t,n)=>{n.r(t),n.d(t,{CalendarView:()=>Le});var a=n(32735),r=n(23481),i=n(57900),o=n(2948),l=n(20354),c=n(110),s=n(80247),u=n(28400),m=n(43933),d=n(41353);const p={wrapper:"WRLhh",notCurrentMonth:"L0rbf",weekend:"mF0ka"};function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function f(e){var t,n,r,i=e.date,o=e.notCurrentMonth,l=(n=a.useState(0),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(n,r)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],u=l[1],f="position-relative border ".concat(e.theme.border," ").concat(p.wrapper);(function(e){return 0===c.O.getWeekday(e)||6===c.O.getWeekday(e)})(i)&&(f+=" ".concat(p.weekend)),o&&(f+=" ".concat(p.notCurrentMonth));var y=(null===(t=e.events)||void 0===t?void 0:t.filter((function(t){return c.O.isSame(e.date,t.startDate)})))||[],g=Object.assign(Object.assign({},e),{eventsOnDay:y,sliderStep:s,setSliderStep:u});return a.createElement("td",{className:f},(null==y?void 0:y.length)>0?a.createElement(d.K,{hoverableComponent:m.X,componentProps:g,hoverScale:1.35}):a.createElement(m.X,Object.assign({},g,{isHovering:!1})))}var y=n(12324),g=n(79967),h=n(57408),b=n(15800),E=n(83345),k="specialEvent.eventsEmptyState",O=r.T.encloseNamespace(k);function D(e){return a.createElement(E.D.Provider,{value:k},a.createElement(b.u,null,a.createElement(b.u.Image,{src:e.imageUrl,altText:O("info")}),a.createElement(b.u.Heading,null,e.heading||a.createElement(E.x,{phrase:"heading"})),e.appLink&&a.createElement(b.u.Info,null,a.createElement(a.Fragment,null,a.createElement(E.x,{namespace:k,phrase:"info"}),a.createElement(h.F,{appLink:e.appLink},a.createElement("span",{className:"text-blue"},O("link")))))))}var w=n(23062);const M={date:"k2lLG",first:"E18Bv"};function L(e){var t={};e.events.forEach((function(e){var n=e.startDate;t[n]?t[n].push(e):t[n]=[e]}));var n=Object.keys(t);return n.sort((function(e,t){return c.O.isBefore(e,t)?-1:0})),a.createElement("div",{className:"py-1"},n.map((function(n,r){var i="",o="";return a.createElement("div",{key:n},a.createElement("div",{className:"h4 mt-4 ".concat(M.date," ").concat(0===r?M.first:"")},y.T.getOrdinalDate(n)),t[n].map((function(t){var n;return i=o,o=null===(n=e.getStartTime)||void 0===n?void 0:n.call(e,t.content),a.createElement(w.b,{key:t.content.id,getAppLink:function(t,n){return e.appLink(t,u.m.slugify(n))},event:t,presentationId:e.presentationId,getIconUrl:e.getIconUrl,getBannerUrl:e.getBannerUrl,getBackgroundColor:e.getBackgroundColor,getActionLabel:function(){return e.getActionLabel(t.content)},getStartTime:e.getStartTime&&i!==o?e.getStartTime:null})})))})))}const S={header:"sTIcQ",thead:"ekxZd"};function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function N(e){var t,n=e.appLinks,r=e.imageUrls,i=(0,g.k)(),o=y.T.getEventsInMonth(e.events||[],e.viewingMonth),l=C(a.useState(!1),2),c=l[0],m=l[1],d=C(a.useState(null),2),p=d[0],v=d[1];return e.eventsLoaded&&!(null==o?void 0:o.length)?a.createElement(D,{imageUrl:r.emptyState,appLink:null===(t=n.emptyStateRedirect)||void 0===t?void 0:t.call(n),heading:e.emptyStateHeading}):"list"===e.viewMode||i.xs||i.sm||i.md?e.eventsLoaded?a.createElement(L,{events:o,presentationId:e.presentationId,appLink:e.appLinks.event,getIconUrl:e.getIconUrl,getBannerUrl:e.getBannerUrl,getBackgroundColor:e.getBackgroundColor,getActionLabel:e.getActionLabel,getStartTime:e.getStartTime}):a.createElement("div",{className:"d-flex justify-content-center align-items-center mb-4"},a.createElement(s.Z,{as:"div",animation:"border",role:"status"})):a.createElement("table",{className:"user-select-none w-100 mt-3 overflow-hidden rounded-top-lg"},a.createElement("thead",{className:"border ".concat(e.theme.border," ").concat(S.thead)},a.createElement("tr",{className:"fw-semibold ".concat(e.theme.background," ").concat(S.header)},e.weekDaysHeader.map((function(e){return a.createElement("th",{key:e,className:"px-2 h4"},e)})))),a.createElement("tbody",null,e.weekDays.map((function(t){return a.createElement("tr",{key:t[0].toString()},t.map((function(t){return a.createElement(f,{key:t.toString(),date:t,notCurrentMonth:!!t.notCurrentMonth,events:e.events,monthQuery:e.monthQuery,hasInitialized:c,setHasInitialized:m,presentationId:e.presentationId,hoveredEvent:p,theme:e.theme,setHoveredEvent:v,getEventsListAppLink:function(){return e.appLinks.eventList(e.monthQuery,t,e.presentationId)},getTopicAppLink:function(t,n){return e.appLinks.event(t,u.m.slugify(n))},getIconUrl:e.getIconUrl,getBackgroundColor:e.getBackgroundColor,getCoverUrl:e.getCoverUrl,getHardCodedEvent:e.getHardCodedEvent})})))}))))}N.defaultProps={theme:{border:"border-light-blue",background:"bg-light-blue"}};var Y=n(65858),A=n(75896),I=new Date("2023-01-01"),j=12;function x(e,t){for(var n=c.O.startOf(e,"month"),a=c.O.getWeekday(n),r=[],i=t?0===a?6:a-1:a,o=t?1:0;o<=i;o++){var l=n,s=c.O.weekday(l,a-o);r.push(Object.assign(s,{notCurrentMonth:!0}))}return r.reverse()}function P(e,t){for(var n=c.O.endOf(e,"month"),a=c.O.getWeekday(n),r=[],i=t?7-(0===a?7:a):7-a,o=1;o<=i;o+=1){var l=c.O.add(n,o,"days");r.push(Object.assign(l,{notCurrentMonth:!0}))}return r}function U(e){var t=c.O.startOf(e,"month");return 1===c.O.getWeekday(t)?t:A.m.first(x(e,!0))}function _(e){var t=c.O.endOf(e,"month");return 0===c.O.getWeekday(t)?t:A.m.last(P(e,!0))}function B(e){return[U(e),_(e)]}function F(e){return e.charAt(0).toUpperCase()+e.slice(1)}var H=new Date,V=n(11607),R=n(63855),q=n(83914),G=n(35223);const z={chevron:"U_GAM",left:"t_wDz",right:"KgpGw",viewModeContainer:"csNfk"};var Z="specialEventCalendar.calendarNav";function W(e){return a.createElement("div",{className:"".concat(z.viewModeContainer," d-none d-lg-block")},a.createElement(R.h,{svgName:G.vn.Calendar,className:"".concat("calendar"===e.viewMode?"bg-dark text-white":""," btn btn-outline-dark rounded-start rounded-end-0 border-end-0 px-3 h-100"),onClick:function(){return e.setViewMode("calendar")},analyticsData:{},analyticsOptions:{entity:Y.py.AppLink,actionType:Y.Vw.Click,descriptor:Y.Jf.Calendar,location:Y.LZ.CalendarNav}}),a.createElement(R.h,{svgName:G.vn.TableOfContents,className:"".concat("list"===e.viewMode?"bg-dark text-white":""," btn btn-outline-dark rounded-end rounded-start-0 border-start-0 px-3 h-100"),onClick:function(){return e.setViewMode("list")},analyticsData:{},analyticsOptions:{entity:Y.py.AppLink,actionType:Y.Vw.Click,descriptor:Y.Jf.List,location:Y.LZ.CalendarNav}}))}function X(e){var t="previous"===e.action?G.vn.ChevronLeft:G.vn.ChevronRight,n="previous"===e.action?z.left:z.right;return a.createElement(V.L,{className:"".concat(z.chevron," ").concat(n," border border-dark rounded-circle bg-white d-flex align-items-center justify-content-center"),onClick:e.onClick},a.createElement(q.x,{svgName:t,size:q.S.Medium,className:"svg-container d-inline-block ".concat(z.svg)}))}var $=new Date;function Q(e){var t=e.appLinks,n=(0,g.k)();function i(n){var a,r,i=c.O.format(n,"MMMM").toLocaleLowerCase(),o=t.month(i),l={};if(n){var s=(new Date).getFullYear(),u=n.getFullYear();s!==u&&(l.year=u)}return(null===(a=e.queryParams)||void 0===a?void 0:a.classification)&&(l.classification=e.queryParams.classification),(null===(r=e.queryParams)||void 0===r?void 0:r.yearGroup)&&(l.yearGroup=e.queryParams.yearGroup),o.params=l,o}var o,l,s=(o=e.monthDate,l=c.O.diffBetween(c.O.startOf(o,"month"),c.O.startOf(H,"month"),"months"),{showPrev:c.O.isAfter(o,I,"month"),showNext:l<j}),u=s.showPrev,m=s.showNext,d={actionType:Y.Vw.Click,entity:Y.py.SpecialEvent,location:Y.LZ.CalendarNav};function p(e){return c.O.format(e,"YYYY-MM-DD")}return a.createElement("div",{className:"d-flex flex-wrap gap-3 justify-content-end align-items-center"},a.createElement("h1",{className:"mb-0 h2 me-auto"},c.O.format(e.monthDate,n.xs?"MMM YYYY":"MMMM YYYY")),e.children,e.setViewMode&&a.createElement(W,{viewMode:e.viewMode,setViewMode:e.setViewMode}),a.createElement("div",{className:"d-flex gap-3"},u&&a.createElement(h.F,{appLink:i(c.O.startOf(c.O.subtract(e.monthDate,1,"month"),"month")),className:"d-flex",analyticsOptions:d,analyticsData:{action:"previous",date:p(c.O.startOf(c.O.add(e.monthDate,1,"month"),"month"))}},a.createElement(X,{action:"previous",onClick:function(){var t=c.O.subtract(e.monthDate,1,"month");e.setViewingMonthDate(t)}})),a.createElement(h.F,{appLink:i(),className:"d-flex",analyticsOptions:d,analyticsData:{action:"today",date:p(c.O.startOf($,"month"))}},a.createElement(V.L,{className:"".concat(z.todayWrapper," btn btn-outline-dark fw-semibold"),onClick:function(){c.O.format($,"M YY")!==c.O.format(e.monthDate,"M YY")&&e.setViewingMonthDate()}},r.T.getPhrase(Z,"today"))),m&&a.createElement(h.F,{appLink:i(c.O.startOf(c.O.add(e.monthDate,1,"month"),"month")),className:"d-flex",analyticsOptions:d,analyticsData:{action:"next",date:p(c.O.startOf(c.O.add(e.monthDate,1,"month"),"month"))}},a.createElement(X,{action:"next",onClick:function(){var t=c.O.add(e.monthDate,1,"month");e.setViewingMonthDate(t)}}))))}var J="specialEvent.eventsErrorState",K=r.T.encloseNamespace(J);function ee(e){return a.createElement(E.D.Provider,{value:J},a.createElement(b.u,null,a.createElement(b.u.Image,{src:e.imageUrl}),a.createElement(b.u.Heading,null,a.createElement(E.x,{phrase:"heading"})),a.createElement(b.u.Info,null,a.createElement(E.x,{namespace:J,phrase:"info"}),a.createElement("br",null),a.createElement(h.F,{appLink:e.appLink},a.createElement("span",{className:"text-blue"},K("link"))))))}var te=n(81886);function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var ae=new Date;function re(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae,r=arguments.length>1?arguments[1]:void 0,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=function(e){var t=e?[1,2,3,4,5,6,0]:[0,1,2,3,4,5,6],n=new Date;return t.map((function(e){return c.O.format(c.O.weekday(n,e),"ddd")}))}(i),l=a.useRef({}),s=(e=a.useState([]),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],m=s[1],d=c.O.format(n,"YYYY-MM");a.useEffect((function(){var e=l.current[d];if(e)m(e.weeksTable);else{var t=function(e,t){for(var n=[],a={},r=x(e,t).concat(function(e){for(var t=c.O.daysInMonth(e),n=[],a=1;a<=t;a++){var r=c.O.set(e,"date",a);n.push(Object.assign(r,{notCurrentMonth:!1}))}return n}(e)).concat(P(e,t)),i=function(e){var t=r.slice(o,o+7);t.forEach((function(t,n){a[c.O.format(t,"YYYY-MM-DD")]={row:e,col:n}})),n.push(t),e++,l=e},o=0,l=0;o<r.length;o+=7)i(l);return{datePositionMap:a,weeksTable:n}}(n,i),a=t.weeksTable,r=t.datePositionMap;l.current[d]={weeksTable:a,datePositionMap:r},m(a)}}),[c.O.format(n,"YYYY-MM")]);var p=A.m.first(A.m.first(u)),v=A.m.last(A.m.last(u));return{weekDaysHeader:o,weekDays:u,monthDate:n,setMonthDate:function(e){if(e){if(d!==c.O.format(e,"YYYY-MM")){var t=c.O.format(e,"MMMM").toLocaleLowerCase(),a=(new Date).getFullYear(),i=n.getFullYear(),o=r.month(t);a!==i&&(o.params={year:i}),te.Q.C$.trigger(o)}}else te.Q.C$.trigger(r.calendar())},startDate:p,endDate:v}}var ie=n(60954),oe=n(40861),le=n(54168),ce=n(25925),se=n(89454),ue=n(21750),me=n(79612),de=n(25301),pe=n(41760),ve=n(31700),fe=n(6117),ye=n(55941);function ge(e){return function(e){if(Array.isArray(e))return Ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||be(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(e,t)||be(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var ke=n(26255),Oe=n(323),De=n(27051);function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Me=r.T.encloseNamespace("livestreamCalendar.calendarView");function Le(e){var t,n,r,s,u,m=(s=(0,o.D)("calendar:mode",{viewMode:"calendar"},{storage:i.Z1.LocalStorage}),u=2,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(s,u)||function(e,t){if(e){if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?we(e,t):void 0}}(s,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=m[0].viewMode,p=m[1],v=l.a.useBasicFetch(ve.g.streamablePresentation()),f=l.a.useBasicFetch(v.data&&se.O.presentationAudiences(v.data.id,ce.R.StreamableLearning)),g=l.a.useBasicFetch(v.data&&ue.x.topicsFromAllAvailablePresentations([v.data.id])),h=function(e){if(!e)return!0;var t=F(e);if(!c.O.formatIsValid(t,"MMMM-YYYY",!0))return!1;var n=c.O.parseDateString(t,"MMMM-YYYY");return c.O.isSame(n,I,"month")||c.O.isAfter(n,I,"month")}(e.month),b=function(e){if(!e)return c.O.parseDateString();var t=F(e);return c.O.parseDateString(t,"MMMM-YYYY")}(e.month),E=re(b,(0,Oe.C)()),k=E.monthDate,O=E.setMonthDate,D=E.weekDays,w=E.weekDaysHeader,M=E.startDate,L=E.endDate,S=function(e,t){var n=he(B(e),2),a=n[0],r=n[1],i=he(B(c.O.add(e,1,"month")),2),o=i[0],s=i[1],u=he(B(c.O.subtract(e,1,"month")),2),m=u[0],d=u[1],p={};t.yearGroup&&(p.audienceId=t.yearGroup),t.classification&&(p.topicId=t.classification,p.includeChildrenTopics=!0);var v=l.a.useBasicFetch(a&&r&&ye.H.calendarLivestreams(Object.assign({from:c.O.format(a,"YYYY-MM-DD"),to:c.O.format(r,"YYYY-MM-DD")},p))),f=l.a.useBasicFetch(o&&s&&ye.H.calendarLivestreams(Object.assign({from:c.O.format(o,"YYYY-MM-DD"),to:c.O.format(s,"YYYY-MM-DD")},p))),y=l.a.useBasicFetch(m&&d&&ye.H.calendarLivestreams(Object.assign({from:c.O.format(m,"YYYY-MM-DD"),to:c.O.format(d,"YYYY-MM-DD")},p)));return{events:A.m.uniq([].concat(ge(y.data||[]),ge(v.data||[]),ge(f.data||[])),(function(e){return e.id})),loaded:v.hasCompleted}}(b,e.queryParams),C=S.events,T=S.loaded,Y=c.O.format(k,"MMMM YYYY");if((0,me.M)(de.CG.getDefaultMetadata({title:Y,phraseContext:{phraseHandler:Me,titlePhrase:"pageTitle",descriptionPhrase:"pageDescription"},canonicalLink:fe.f.getCanonicalLink({allowedParams:["year"]}),allowIndexing:!0,product:pe.L.PRODUCT_NAME})),null!==e.month&&!h)return a.createElement(ee,{imageUrl:(0,Oe.j)().errorState,appLink:(0,De.h)().calendar});var j,x,P,U,_,H=[{id:"classification",name:Me("subjectFilter"),options:null===(t=g.data)||void 0===t?void 0:t.topics.map((function(e){return{name:e.name,id:e.topicIds.join(":")}})),type:"checkbox",compatibleIndices:[]},{id:"yearGroup",name:Me("gradeFilter"),type:"checkbox",options:null===(n=f.data)||void 0===n?void 0:n.map((function(e){return{name:e.name,id:e.masterId}})),compatibleIndices:[]}];return a.createElement("div",{className:"bg-white px-4"},a.createElement(oe.D,{appLinks:(0,De.h)(),active:"calendar"}),a.createElement(Q,{monthDate:k,setViewingMonthDate:O,appLinks:(0,Oe.C)(),queryParams:e.queryParams,viewMode:d,setViewMode:function(e){return p({viewMode:e})}},a.createElement("div",{className:"mx-n1 order-1 order-sm-0"},a.createElement(ie.J,{queryParams:e.queryParams,mainFilters:H,appLink:(j=c.O.format(k,"MMMM").toLocaleLowerCase(),x=(new Date).getFullYear(),P=k.getFullYear(),U=(0,Oe.C)().month(j),_={},x!==P&&(_.year=P),e.queryParams.classification&&(_.classification=e.queryParams.classification),e.queryParams.yearGroup&&(_.yearGroup=e.queryParams.yearGroup),U),isFetchingOptions:!g.data||!v.data||!f.data,alignResetButtonLeft:!0,hideDivider:!0,hideHeading:!0,hideCaret:!1}))),a.createElement("div",{className:"position-relative mt-3 ".concat("list"===d?"":"mt-lg-0")},a.createElement("div",{className:"d-block ".concat("list"===d?"":"d-lg-none"," position-absolute top-0 end-0 mt-2")},a.createElement(le.d,null)),a.createElement(N,{weekDays:D,weekDaysHeader:w,events:C,monthQuery:{from:null==M?void 0:M.toString(),to:null==L?void 0:L.toString()},viewingMonth:b,eventsLoaded:T,presentationId:null===(r=v.data)||void 0===r?void 0:r.id,appLinks:(0,Oe.C)(),imageUrls:(0,Oe.j)(),viewMode:d,getActionLabel:function(e){return Me(function(e){return c.O.isBefore(e.endDateTime,new Date)?"pastActionLabel":"actionLabel"}(e))},getBackgroundColor:function(e){var t;return null===(t=e.company.metadata)||void 0===t?void 0:t.colour},getBannerUrl:function(e){var t;return null===(t=e.company.banner)||void 0===t?void 0:t.url},getIconUrl:function(e){var t;return null===(t=e.company.logo)||void 0===t?void 0:t.url},getStartTime:ke.y.getStartTime,theme:{background:"bg-light-green",border:"border-light-green"},emptyStateHeading:function(){if(!y.T.getEventsInMonth(C||[],b).length&&(e.queryParams.yearGroup||e.queryParams.classification))return Me("emptyStateText")}()})))}Le.defaultProps={queryParams:{}}},323:(e,t,n)=>{n.d(t,{C:()=>l,j:()=>o});var a=n(99742),r=n(96359),i=n(41135);function o(){return{emptyState:a.W.EmptyStates.CALENDAR.NO_EVENTS,errorState:a.W.EmptyStates.CALENDAR.INVALID_DATE}}function l(){return{calendar:function(){return{application:i.O.CALENDAR,action:r.e.Calendar.CALENDAR}},month:function(e){return{application:i.O.CALENDAR,action:r.e.Calendar.CALENDAR_MONTH,args:[e]}},event:function(e,t){return{application:i.O.LIVESTREAMS,action:r.e.Livestreams.LIVESTREAM,args:[e,t]}},eventList:function(e,t,n){return{application:i.O.CALENDAR,action:r.e.Calendar.SPECIAL_EVENT_LIST,params:Object.assign(Object.assign({},e),{date:t.toString(),presentationId:n})}}}}},27051:(e,t,n)=>{n.d(t,{E:()=>o,h:()=>l});var a=n(96359),r=n(41135),i=n(65751);function o(e){return Object.assign(Object.assign({},i.y),{classification:function(t){return i.y.classification(t,e)},classificationTopics:function(){return i.y.classificationTopics(e)}})}function l(){return{discover:{application:r.O.DASHBOARD,action:a.e.Dashboard.HOME},calendar:{application:r.O.CALENDAR,action:a.e.Calendar.CALENDAR},partners:{application:r.O.DASHBOARD,action:a.e.Dashboard.CONTENT_PARTNERS}}}},55941:(e,t,n)=>{n.d(t,{H:()=>l});var a=n(97395),r=n(110),i=n(59795),o=n(5960),l={livestream:function(e){return{url:a._.urlBuilder("/api/discover/v1/livestreams/".concat(e),{query:"audiences,recording"}),key:"streamable:livestream:".concat(e,"}")}},calendarLivestreams:function(e){var t=Object.keys(e).map((function(t){return"".concat(t,":").concat(e[t])})).join(":");return{url:a._.urlBuilder("/api/discover/v1/livestreams",Object.assign({status:o.X.Published,limit:100},e)),key:"streamable:calendar:livestreams:".concat(t),normalize:!1,formatData:function(e){return e.data.map((function(e){return{id:e.id,startDate:r.O.format(i.t.convertUTCToTimezoneDate(e.startDateTime),"YYYY-MM-DD"),type:"Livestream",name:e.name,description:e.description,content:e}}))}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[109],{74109:(e,t,a)=>{a.r(t),a.d(t,{SignInPopupView:()=>k});var n=a(32735),c=a(81886),s=a(57408),l=a(58960),r=a(83914),i=a(83345),p=a(81041),o=a(35223),m=a(30747),u=a(96359),E=a(41135);const g={logo:"MnJyE"};var b="streamableVideos.signInPopup";function k(e){var t=c.Q.C$.getHref(p.O.getCurrentRoute().appLink),a="/"!==t?{redirectUrl:t}:{};return n.createElement(l.G,{closePopup:e.closePopup,bodyClassName:"p-5"},n.createElement("button",{className:"btn-close position-absolute top-0 end-0 p-3",onClick:e.closePopup}),n.createElement("div",{className:"".concat(g.logo," position-absolute top-0 start-0 m-3")},n.createElement(m.p,null)),n.createElement("h1",{className:"h2 text-center"},n.createElement(i.x,{namespace:b,phrase:"signInHeading"})),n.createElement("p",{className:"text-center mb-3"},n.createElement(i.x,{namespace:b,phrase:"signInDescription"})),n.createElement(s.F,{className:"d-flex justify-content-center align-items-center mt-3 btn btn-dark w-100",appLink:{application:E.O.DEFAULT,action:u.e.Default.LOG_IN,params:a}},n.createElement(r.x,{svgName:o.vn.NewWindow}),n.createElement("span",{className:"ms-1"},n.createElement(i.x,{namespace:b,phrase:"signInButton"}))),n.createElement(s.F,{className:"d-flex justify-content-center align-items-center mt-3 text-info",appLink:{application:E.O.DEFAULT,action:u.e.Default.CONTACT_US_POPUP}},n.createElement(i.x,{namespace:b,phrase:"contactUsLink"})))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[121],{71063:(e,t,n)=>{n.d(t,{M:()=>i});var i={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"}},25301:(e,t,n)=>{n.d(t,{CG:()=>C});var i,r=n(23481),o=n(110),a=n(71063);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(e,t,n){var i;return i=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=l(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==l(i)?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global"}(i||(i={}));var s=r.T.encloseNamespace("shared.shared-utils"),d=/^(.*)\s/,p="pageTitle",v="pageDescription",f=u(u(u(u(u(u({},"au",i.AU),"gb",i.UK),"us",i.US),i.AU,"au"),i.UK,"gb"),i.US,"us");function g(e){return e?e.substring(0,e.length-3)+"...":""}function m(e){var t,n,i=e.title,r=e.phraseContext,o=e.product,a=void 0===o?"ClickView":o;if(!i)return"";if(!r)return s(p,{title:i,product:a});var l=70-(null!==(n=null===(t=r.phraseHandler(r.titlePhrase,{value:""}))||void 0===t?void 0:t.length)&&void 0!==n?n:0);return i.length>=l?s(p,{title:i,product:a}):r.phraseHandler(r.titlePhrase,{title:i})}function h(e){var t,n,i,r,o,a=e.title,l=e.description,c=e.phraseContext,u=g((160,(o=l||a)?o.substring(0,160):""));if(!c)return s(v,{description:u});var p=160-(null!==(n=null===(t=c.phraseHandler(c.descriptionPhrase,{title:"",description:""}))||void 0===t?void 0:t.length)&&void 0!==n?n:0);if((null==a?void 0:a.length)>=p)return s(v,{description:u});var f=g(function(e,t,n){if(!e)return"";var i=160-n;if(e.length<=i)return e;var r=e.slice(0,i),o=r.match(d);return o?o[1]:r}(l,0,null!==(r=null===(i=c.phraseHandler(c.descriptionPhrase,{title:a,description:""}))||void 0===i?void 0:i.length)&&void 0!==r?r:0));return c.phraseHandler(c.descriptionPhrase,{title:a,description:f})}function b(e,t){var n;return null!==(n=null==e?void 0:e.reduce((function(e,n){var i,r,o,a=null===(i=f[n.contentRegion])||void 0===i?void 0:i.toUpperCase();return(null===(r=n.id)||void 0===r?void 0:r.toString())===(null==t?void 0:t.toString())&&a?[].concat(function(e){if(Array.isArray(e))return c(e)}(o=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[{"@type":"Place",name:a}]):e}),[]))&&void 0!==n?n:[]}function y(e,t,n){var i;return{"@context":"https://schema.org","@type":"VideoObject",mainEntityOfPage:{"@type":"WebPage","@id":t},name:null==e?void 0:e.name,description:null==e?void 0:e.description,thumbnailUrl:null===(i=null==e?void 0:e.thumbnail)||void 0===i?void 0:i.url,uploadDate:null==e?void 0:e.dateCreated,duration:o.O.getDurationISOString(null==e?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:".".concat(a.M.GLOBAL_PLAYER_SELECTOR)},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:".".concat(a.M.RESOURCE_ITEM_SELECTOR)},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:".".concat(a.M.WELCOME_POPUP_SELECTOR)}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:b(n,null==e?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}var C={getDefaultMetadata:function(e){var t=e.title,n=e.description,i=e.canonicalLink,r=e.phraseContext,o=e.allowIndexing,a=e.hrefLang;return{title:m({title:t,phraseContext:r,product:e.product}),description:h({title:t,description:n,phraseContext:r}),canonicalLink:i,allowIndexing:o,hrefLang:a}},getVideoMetadata:function(e){var t=e.content,n=e.canonicalLink,i=e.phraseContext,r=e.allowIndexing,o=e.hrefLang,a=e.regionAlternatives,l=e.product;return{title:m({title:null==t?void 0:t.name,phraseContext:i,product:l}),description:h({title:null==t?void 0:t.name,description:null==t?void 0:t.description,phraseContext:i}),jsonLd:y(t,n,a),canonicalLink:n,allowIndexing:r,hrefLang:o}},getClipMetadata:function(e){var t,n=e.content,i=e.canonicalLink,r=e.phraseContext,o=e.allowIndexing;return{title:m({title:null==n?void 0:n.name,phraseContext:r}),description:h({title:null==n?void 0:n.name,description:(null==n?void 0:n.description)||(null===(t=null==n?void 0:n._parentVideo)||void 0===t?void 0:t.description),phraseContext:r}),canonicalLink:i,allowIndexing:o}},getInteractiveMetadata:function(e){var t,n=e.content,i=e.canonicalLink,r=e.phraseContext,o=e.allowIndexing;return{title:m({title:null==n?void 0:n.name,phraseContext:r}),description:h({title:null==n?void 0:n.name,description:(null==n?void 0:n.description)||(null===(t=null==n?void 0:n._parentVideo)||void 0===t?void 0:t.description),phraseContext:r}),canonicalLink:i,allowIndexing:o}},getPlaylistMetadata:function(e){var t=e.content,n=e.canonicalLink,i=e.phraseContext,r=e.allowIndexing;return{title:m({title:null==t?void 0:t.name,phraseContext:i}),description:h({title:null==t?void 0:t.name,phraseContext:i}),canonicalLink:n,allowIndexing:r}},getSeriesMetadata:function(e){var t=e.content,n=e.canonicalLink,i=e.phraseContext,r=e.allowIndexing;return{title:m({title:null==t?void 0:t.name,phraseContext:i}),description:h({title:null==t?void 0:t.name,description:null==t?void 0:t.description,phraseContext:i}),canonicalLink:n,allowIndexing:r}},getClassificationMetadata:function(e){var t=e.content,n=e.canonicalLink,i=e.phraseContext,r=e.allowIndexing,o=e.hrefLang,a=e.product;return{title:m({title:null==t?void 0:t.name,phraseContext:i,product:a}),description:h({title:null==t?void 0:t.name,phraseContext:i}),canonicalLink:n,allowIndexing:r,hrefLang:o}},getDiscoverMetadata:function(e){var t=e.content,n=e.canonicalLink,i=e.phraseContext,r=e.allowIndexing,o=e.hrefLang,a=e.product;return{title:m({title:null==t?void 0:t.name,phraseContext:i,product:a}),description:h({title:null==t?void 0:t.name,phraseContext:i}),canonicalLink:n,allowIndexing:r,hrefLang:o}}}},41760:(e,t,n)=>{n.d(t,{L:()=>i});var i={VIDEO_START_TIME_CUTOFF:10,PUBLIC_SEARCH_QUERY_DEBOUNCE:600,AUTHENTICATED_SEARCH_QUERY_DEBOUNCE:300,LEGACY_ACTION_SUFFIX:":legacy",MINIMUM_GLANCE_HEIGHT:368,PRODUCT_NAME:"Streamable Learning"}},6117:(e,t,n)=>{n.d(t,{f:()=>l});var i=n(39202),r=n(14292),o=n(97395);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var l={isBot:function(){if(!window.URLSearchParams)return!1;var e=new URLSearchParams(window.location.search);return"true"===(null==e?void 0:e.get("isBot"))},getCanonicalLink:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.A.GetCurrentOrigin(),n=(null==e?void 0:e.customAppLink)||i.C$.getCurrentAppLink(),l=function(e,t){if(!(null==t?void 0:t.length)||"string"==typeof e||!e)return{};var n=t.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){var i;return i=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==a(i)?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{});return Object.keys(e).reduce((function(t,i){return i in n&&(t[i]=e[i]),t}),{})}(n.params,e.allowedParams),c=i.C$.getHref(Object.assign(Object.assign({},n),{params:l}));return"function"==typeof e.hrefTransformer&&(c=e.hrefTransformer(c)),o._.safeUrlConcat(t,c)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[146],{10587:(e,a,t)=>{t.d(a,{y:()=>l});var r=t(54610);function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,a,t){var r;return r=function(e,a){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a),(a="symbol"==n(r)?r:r+"")in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var l=i(i(i(i(i(i(i(i(i({},r.__.Thumbnails,{width:1280,height:720}),r.__.Banners,{width:1200,height:222}),r.__.Covers,{width:512,height:512}),r.__.Posters,{width:1e3,height:1500}),r.__.TallPosters,{width:1080,height:1920}),r.__.HeroBanners,{width:1920,height:640}),r.__.None,{width:1,height:1}),r.__.Avatars,{width:256,height:256}),r.__.Logos,{width:128,height:128})},78446:(e,a,t)=>{t.r(a),t.d(a,{ProfileDetailsView:()=>$});var r=t(32735),n=t(70680),i=t(23481),l=t(20354),o=t(92582),c=t(65858),s=t(54610),u=t(39151),m=t(99940),d={uploadBase64Image:function(e,a,t,r){return{url:"/api/image/upload?type=".concat(e),key:"upload:image",data:a,type:m.k.POST,success:t,always:r}}},p=t(31949),f=t(55110),g=t(97395),v=t(83345),h=t(44645),y=t(51934),b=t.n(y),E=t(58960),N=t(13876),w=t(10587);function _(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,i,l,o=[],c=!0,s=!1;try{if(i=(t=t.call(e)).next,0===a){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=i.call(t)).done)&&(o.push(r.value),o.length!==a);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(s)throw n}}return o}}(e,a)||function(e,a){if(e){if("string"==typeof e)return k(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?k(e,a):void 0}}(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,r=new Array(a);t<a;t++)r[t]=e[t];return r}var S=i.T.encloseNamespace("shared.imageCropper"),I=/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/;function C(e){var a=_(r.useState(!1),2),t=a[0],n=a[1],i=_(r.useState(!1),2),l=i[0],o=i[1],c=r.useRef(),s=r.useRef();return r.useEffect((function(){var a=new Image;a.src=e.src;var t=c.current.offsetWidth/a.width,r=w.y[e.imageType],i={viewMode:2,autoCropArea:1,ready:function(){return n(!0)}};return r&&(i.minCropBoxWidth=r.width*t,i.minCropBoxHeight=r.height*t,i.aspectRatio=r.width/r.height),s.current=new(b())(c.current,i),function(){s.current.destroy()}}),[]),r.createElement(E.G,{title:S("title"),closePopup:e.closePopup,size:e.popupSize},r.createElement("div",null,r.createElement("img",{src:e.src,alt:e.alt,ref:c,className:"img img-fluid"})),r.createElement(N.u,null,r.createElement(N.u.Cancel,{onClick:e.closePopup}),r.createElement(N.u.Submit,{onClick:function(){if(t){var a=s.current.getCroppedCanvas().toDataURL(function(e){var a=e.match(I);if(a)return a[1]}(e.src));o(!0),e.onClickCrop(a,e.closePopup)}},text:S("crop"),variant:"dark",showSpinner:l})))}C.defaultProps={popupSize:"lg"};var x={renderCropper:function(e){var a=(0,h.s)(document.getElementById("dialog-region"));a.render(r.createElement(C,Object.assign({},e,{closePopup:function(){return a.unmount()}})))}},A=t(67453),P=t(91967),T={onFileSelect:function(e,a,t,r){if(a&&a.length){var n=new FileReader;n.addEventListener("load",(function(){return T.onReaderLoad(n,e,t,r)})),n.readAsDataURL(a[0])}},onReaderLoad:function(e,a,t,r){var n,i,l=new Image;l.src=e.result;var o=null!==(n=null==r?void 0:r.width)&&void 0!==n?n:w.y[a].width,c=null!==(i=null==r?void 0:r.height)&&void 0!==i?i:w.y[a].height;l.addEventListener("load",(function(){T.isImageValid(a,l,r)&&P.q.isFunction(t)?t(l):alert("Image too small: minimum dimensions are ".concat(o," x ").concat(c))}))},isImageValid:function(e,a,t){var r,n,i=null!==(r=null==t?void 0:t.width)&&void 0!==r?r:w.y[e].width,l=null!==(n=null==t?void 0:t.height)&&void 0!==n?n:w.y[e].height;return!(i&&a.width<i||l&&a.height<l)},mapImageTypeToString:function(e){switch(e){case s.__.Avatars:return"avatars";case s.__.Thumbnails:return"thumbnails";case s.__.Logos:return"logos";case s.__.Covers:return"covers";case s.__.Posters:return"posters";case s.__.TallPosters:return"tallposters";case s.__.HeroBanners:return"herobanners";case s.__.None:default:return""}}},U=t(64818);const R={profileImage:"e1vsK"};var L="settings.editAvatar";function j(e){var a,t,n,i,l=r.useRef(null),o=(null===(a=e.user.avatar)||void 0===a?void 0:a.url)?e.user.avatar.url:(n=e.imageCdnUrl,i=U.l.getInitials(e.user.name,e.user.surname),A.j.createUrl(g._.safeUrlConcat(n,"/v1/profile-images?initials=".concat(i)),{size:s.h2.Medium}));return r.createElement(v.D.Provider,{value:L},r.createElement("div",{className:"col-auto form-group d-flex flex-column align-items-center ps-4"},r.createElement("label",{className:"align-self-start"},r.createElement(v.x,{phrase:"profileImage"})),r.createElement("img",{className:"img img-fluid rounded ".concat(R.profileImage," mb-2"),alt:"User avatar",src:o}),r.createElement("button",{className:"btn btn-outline-dark px-3 text-center",onClick:function(){l.current.value=null,l.current.click(null)}},r.createElement(v.x,{phrase:"uploadImage"})),r.createElement("input",{type:"file",className:"file-select d-none",multiple:!1,accept:"image/jpg,image/jpeg,image/png",ref:l,onChange:function(a){var t;(t=a.target.files)&&t[0]&&T.onFileSelect(s.__.Avatars,t,(function(a){x.renderCropper({src:a.src,alt:"",onClickCrop:function(a,t){return e.onSelectImage(function(e){return e.split(",")[1]}(a),t)},imageType:s.__.Avatars})}))}}),!!(null===(t=e.user.avatar)||void 0===t?void 0:t.url)&&r.createElement("button",{className:"btn btn-link text-center",onClick:e.onClickRemoveImage},r.createElement(v.x,{phrase:"removeImage"}))))}var F=t(92802),B=t(23201),Z=t(1269),q=t(82644),D=t(5173),O=i.T.encloseNamespace("settings.editProfileDetailsForm"),V=(0,D.Ry)().shape({firstName:(0,D.Z_)().max(255,(function(){return O("nameExceeds")})).required((function(){return O("nameRequired")})).default("").trim(),surname:(0,D.Z_)().max(255,(function(){return O("surnameExceeds")})).required((function(){return O("surnameRequired")})).default("").trim(),username:(0,D.Z_)().max(255,(function(){return O("usernameExceeds")})).default("").trim(),displayName:(0,D.Z_)().max(255,(function(){return O("displayNameExceeds")})).default("").trim()}),z=i.T.encloseNamespace("settings.editProfileDetailsForm");function W(e){var a,t;return r.createElement(q.n,{initialValues:{firstName:e.user.name,surname:e.user.surname,username:e.user.username,displayName:null!==(t=null===(a=e.user.metadata)||void 0===a?void 0:a.displayName)&&void 0!==t?t:""},validationSchema:V,onSubmit:e.onClickSave},r.createElement(F.l0,null,r.createElement(Z.W,{label:z("firstName"),type:"text",name:"firstName",id:"firstName",placeholder:z("firstNamePlaceholder"),autoFocus:!0,showRequiredStar:!0}),r.createElement(Z.W,{label:z("lastName"),type:"text",name:"surname",id:"surname",placeholder:z("lastNamePlaceholder"),showRequiredStar:!0}),r.createElement(Z.W,{label:z("displayName"),type:"text",name:"displayName",id:"displayName",placeholder:z("displayNamePlaceholder"),infoTooltip:z("displayNameTooltip")}),r.createElement(Z.W,{label:z("username"),type:"text",name:"username",id:"username",placeholder:z("usernamePlaceholder"),showRequiredStar:!0,disabled:!0,infoTooltip:z("usernameTooltip")}),r.createElement(B.A,{variant:"dark",submitText:z("saveChanges"),isNew:!1})))}var M=t(81803),G=t(68192);const H={partialLabel:"Z_3rS",partialInput:"B0iyg",partialSubmit:"MZM6I",partialAvatar:"iqthe",partialUploadImage:"qmeIF"};function Y(){return r.createElement("div",{className:"row g-0"},r.createElement("div",{className:"col-4"},r.createElement("div",{className:"form-group"},r.createElement("div",{className:"partial-loading-background ".concat(H.partialLabel)}),r.createElement("div",{className:"partial-loading-background ".concat(H.partialInput)})),r.createElement("div",{className:"form-group"},r.createElement("div",{className:"partial-loading-background ".concat(H.partialLabel)}),r.createElement("div",{className:"partial-loading-background ".concat(H.partialInput)})),r.createElement("div",{className:"form-group"},r.createElement("div",{className:"partial-loading-background ".concat(H.partialLabel)}),r.createElement("div",{className:"partial-loading-background ".concat(H.partialInput)})),r.createElement("div",{className:"partial-loading-background ".concat(H.partialSubmit)})),r.createElement("div",{className:"form-group d-flex flex-column align-items-center ps-4"},r.createElement("div",{className:"partial-loading-background align-self-start ".concat(H.partialLabel)}),r.createElement("div",{className:"partial-loading-background mb-2 ".concat(H.partialAvatar)}),r.createElement("div",{className:"partial-loading-background mx-3 ".concat(H.partialUploadImage)})))}var K=i.T.encloseNamespace("settings.profileDetails");function $(){var e=(0,n.I0)(),a=(0,f.Z)(),t=l.a.useBasicFetch(p.N.currentUser()),i=l.a.useBasicFetch(t.data&&G.N.getUser(t.data.id)),m=l.a.useBasicFetch(u.L.config());return r.createElement(M.d,{heading:K("heading"),breadcrumbs:[K("breadcrumb")]},t.data&&i.data&&m.data?r.createElement("div",{className:"row g-0"},r.createElement("div",{className:"col-4"},r.createElement(W,{user:i.data,onClickSave:function(r,n){var s=Object.assign(Object.assign({},r),{customerId:t.data.customerId,masterRole:i.data.userProfile.role,userId:i.data.id,userType:i.data.userType,masterYearGroup:i.data.masterYearGroup,displayName:r.displayName||null,username:i.data.username});l.a.fetch(e,G.N.updateUser(s,t.data.id,(function(){o.k.logUserAction(s,{location:c.LZ.Settings,actionType:c.Vw.Edit,workflowPhase:c.eu.Complete,entity:c.py.User}),a.success(K("success"))}),(function(){a.error(K("error"))}),n))}})),r.createElement(j,{user:i.data,onSelectImage:function(r,n){l.a.fetch(e,d.uploadBase64Image(s.__.Avatars,r,(function(r){!function(r,n){l.a.fetch(e,G.N.updateAvatar(r.id,t.data.id,(function(){o.k.logUserAction({id:t.data.id,avatarId:r.id,avatarUrl:r.location},{actionType:c.Vw.Associate,workflowPhase:c.eu.Complete,location:c.LZ.Settings,entity:c.py.User,descriptor:c.iF.Avatar}),n(),a.success(K("avatarUploadSuccess"))}),(function(){a.error(K("avatarUploadError"))})))}(r,n)}),(function(){a.error(K("avatarUploadError"))})))},onClickRemoveImage:function(){l.a.fetch(e,G.N.deleteAvatar(i.data.avatar.id,t.data.id,(function(){o.k.logUserAction({id:t.data.id,avatarId:i.data.avatar.id},{actionType:c.Vw.Dissociate,workflowPhase:c.eu.Complete,location:c.LZ.Settings,entity:c.py.User,descriptor:c.iF.Avatar}),a.success(K("avatarDeleteSuccess"))}),(function(){a.error(K("avatarDeleteError"))})))},imageCdnUrl:m.data.imageCdnUrl})):r.createElement(Y,null))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[18],{71471:(e,a,t)=>{t.d(a,{S:()=>o});var n=t(32735),r=t(68050),i=t(69111),c=t(9977),l=t(79967);const s={partialOptions:"Gufgq",partialName:"SicQQ",partialDescription:"dPGMq",partialThumbnail:"vZrnb",partialDragHandle:"iq73R"};function o(e){return n.createElement("div",{className:"mx-2"},Array(e.numVideos).fill(null).map((function(a,t){return n.createElement("div",{className:"d-flex",key:t},e.allowBulkActions&&n.createElement("div",{className:"form-check pe-3 pe-sm-2 mx-0 mx-md-2"}),n.createElement(d,Object.assign({},e)))})))}function d(e){var a=(0,l.k)(),t="sm"===c.O.getSize(a,"md"),o=e.withReordering&&!a.xs;return n.createElement(r.Z,{className:"".concat(t?"":"py-2"," flex-grow-1")},n.createElement(i.Z,Object.assign({},c.O.getThumbnailColumns(),{className:"flex-column align-items-flex-start ".concat(t?"pb-2 pe-1":"mb-1 pe-3 pe-md-2")}),n.createElement(r.Z,null,!!o&&n.createElement("div",{className:"d-flex align-items-center justify-content-center col-2"},n.createElement("div",{className:"partial-loading-background ".concat(s.partialDragHandle)})),n.createElement(i.Z,{xs:c.O.getThumbnailColSize(o)},n.createElement("div",{className:"partial-loading-background ".concat(t?"rounded":"rounded-3"," ").concat(s.partialThumbnail)})))),n.createElement(i.Z,Object.assign({},c.O.getDetailsColumns(),{className:t?"pb-2":"px-2"}),n.createElement("div",{className:"partial-loading-background mb-1 ".concat(s.partialName)}),n.createElement("div",{className:"partial-loading-background ".concat(s.partialDescription)})))}o.defaultProps={numVideos:15}},80889:(e,a,t)=>{t.d(a,{_:()=>s});var n=t(99940),r=t(97395),i=t(75896),c=t(49542),l=t(78479),s={classificationDashboard:function(e,a,t,n){var c={target:"classification:".concat(e),status:t,userType:a};return{url:r._.urlBuilder("{gateway}/v1/discover/dashboards",c),publicUrl:r._.urlBuilder("/api/discover/dashboards",c),key:"classification:dashboard:".concat(e,":").concat(a,":").concat(n,":").concat(null==t?void 0:t.join(":")),formatData:function(e){var a;return n?null===(a=e.data)||void 0===a?void 0:a.find((function(e){return e.id.toString()===n.toString()})):i.m.first(e.data)}}},dashboardWidgetContent:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,s=Object.keys(a).map((function(e){return a[e]})).join(":");return{url:r._.urlBuilder("{gateway}/v1/discover/widgets/".concat(e),a),publicUrl:r._.urlBuilder("/api/discover/widgets/".concat(e),a),key:"widget:".concat(e,":").concat(s),formatData:function(e){return c.d.formatResponseData(e,n)},normalizeOptions:{namespace:s},normalize:t!==l.f.EditableCoverFixedPillListSmall,success:i}},getDashboard:function(e,a,t,n,c,l){var s={target:t,status:a,userType:e};(null==n?void 0:n.length)&&(s["widgets.curriculum"]=n);var o="dashboard:".concat(t,":").concat(e,":").concat(c,":").concat(a.join(":"));return{url:r._.urlBuilder("{gateway}/v1/discover/dashboards",s),publicUrl:r._.urlBuilder("/api/discover/dashboards",s),key:o,formatData:function(e){var a;return c?null===(a=e.data)||void 0===a?void 0:a.find((function(e){return e.id.toString()===c.toString()})):i.m.first(e.data)},success:l}},updateWidgetPreferences:function(e,a,t){return{url:"{gateway}/v1/discover/widgets/".concat(e,"/preferences"),key:"update:widget:preferences",invalidationKeys:["widget:".concat(e)],type:n.k.PUT,data:{userId:t.id,customerId:t.customerId,metadata:a}}}}},80553:(e,a,t)=>{t.r(a),t.d(a,{DashboardWidgetView:()=>f});var n=t(32735),r=t(20354),i=t(24546),c=t(51365),l=t(25925),s=t(89454),o=t(80889),d=t(99742),u=t(31700),m=t(49433),p=t(65751),g=t(71471);const v={partialHeading:"RSm4L"};function b(){return n.createElement("div",{className:"px-3"},n.createElement("div",{className:"partial-loading-background mb-2 ".concat(v.partialHeading)}),n.createElement(g.S,null))}function f(e){var a=r.a.useBasicFetch(u.g.streamablePresentation()),t=r.a.useBasicFetch(o._.dashboardWidgetContent(e.widgetId)),g=r.a.useBasicFetch(a.data&&s.O.presentationAudiences(a.data.id,l.R.StreamableLearning)),v=(0,m.V)("video-list");return a.hasCompleted&&t.hasCompleted&&g.hasCompleted?n.createElement(c.M.Provider,{value:{getVideoActions:v}},n.createElement("div",{className:"px-3"},n.createElement("h1",{className:"h2 mb-2"},t.data.name),n.createElement(i.E4,{videos:t.data.content,yearGroups:null,getVideoAppLink:p.y.videoType,getSubTextAppLink:p.y.subText,presentationAudiences:g.data,companyLogoFallbackUrl:d.W.StreamableLearning.LOGO,subTextType:"productionCompany",getPreviewQuestionsAppLink:function(){return null},hasPermissions:function(){return!1}}))):n.createElement(b,null)}},49433:(e,a,t)=>{t.d(a,{V:()=>r});var n=t(65858);function r(e){return function(a){return a.id,a.name,"video-list"===e?n.LZ.VideoListItem:n.LZ.PlayPage,[]}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[213],{55827:(e,t,n)=>{n.d(t,{l:()=>r});var a=n(32735);function r(e){return e.hideDescription&&e.hideHeading?a.createElement(a.Fragment,null):a.createElement("div",{className:"curated-widget-header"},!e.hideHeading&&a.createElement("div",{className:"partial-loading-background curated-widget-heading",style:{height:"1.5rem",width:"12rem"}}),!e.hideDescription&&a.createElement("div",{className:"partial-loading-background curated-widget-description",style:{height:"1.434375rem",width:"16rem"}}))}},5281:(e,t,n)=>{n.d(t,{k:()=>S,x:()=>x});var a=n(32735),r=n(23481),i=n(91967),s=n(82182),o=n(81886),c=n(92582),l=n(66869),u=n(43872),d=n(53855),m=n(31069),f=n(54610),p=n(10841),v=n(79967),g=n(49439),y=n(65294),b=n(26154),h=n(49542),E=n(61871),w=n(92644),j=n(31309),I=n(52993);function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,s,o=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(o.push(a.value),o.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var O="shared.fixedWidget",x=12;function S(e){var t,n=e.analyticsData,C=void 0===n?{}:n,S=e.getWidgetItemAnalyticsData,N=void 0===S?function(){}:S,R=k(a.useState(null),2),z=R[0],A=R[1],L=k(a.useState(null),2),T=L[0],P=L[1],D=k(a.useState(0),2),U=D[0],F=D[1],B=k(a.useReducer(E.CU,E.eS,E.m0),2),_=B[0],M=B[1],V=a.useRef(null),W=k((0,g.X)(),2),Z=W[0],q=W[1],H=k(a.useState(!1),2),G=H[0],X=H[1],$=k(a.useState(!1),2),K=$[0],J=$[1];(0,w.iV)(e.controlsRef,M);var Y=(0,y.Y)({prevent:!e.lazyLoad}),Q=Y.ref,ee=Y.inView,te=(0,w.$5)(e,M,ee);function ne(t){var n,a=e.prefetched?e.collection:te.data;if(!a)return[];var r=i.q.isFunction(e.setData)?e.setData(a):a;return null!==(n=null==r?void 0:r.slice(0,t))&&void 0!==n?n:[]}var ae=ne(e.limitTotalItems?x:1/0),re=_.offset===ae.length,ie=(0,v.k)();function se(){return"scroll"===e.touchBehavior&&s.V.isTabletOrMobile()}a.useEffect((function(){M({type:p.n.Resize,payload:{breakpoints:ie}})}),[ie]),a.useEffect((function(){if(e.prefetched){var t=e.type;t===b.l9.ResourcesTile&&(t=b.l9.Row),M({type:p.n.Init,payload:{breakpoints:ie,type:t,contents:e.contents,totalItems:ae.length}})}}),[null===(t=e.collection)||void 0===t?void 0:t.length,e.prefetched]);var oe={type:_.type,collectionSize:ae.length,contents:e.contents},ce=(0,w.lv)(e,(null==te?void 0:te.data)||e.collection);if(null==te?void 0:te.hasError)return a.createElement(a.Fragment,null);if(!e.prefetched&&!(null==te?void 0:te.data)){var le=e.partialComponent||j.j;return a.createElement("div",{ref:Q},a.createElement(le,null))}if(!ae.length||ae.length<e.minimumItemCount)return a.createElement(a.Fragment,null);var ue=e.childComponent,de=function(t){return Object.assign({id:null==ce?void 0:ce.id,name:null==ce?void 0:ce.name,direction:t===p.n.Next?"right":"left"},e.analyticsData)},me=!(!e.appLink||!re)&&!!e.limitTotalItems&&ne(1/0).length>ae.length,fe=se()||e.hideButtons,pe=_.offset===_.viewableItems,ve=ae.length<=_.offset,ge=_.viewableItems<ae.length;return a.createElement("div",{className:"mx-n4 mb-n3"},a.createElement("div",{className:se()?"pb-3 overflow-hidden":"px-4 pb-3 overflow-hidden"},!e.hideName&&a.createElement("div",{className:se()?"px-4":""},a.createElement(l.B,{name:ce.name,description:ce.description,appLink:(0,w.LU)(e.appLink,ce),analyticsData:Object.assign({id:null==ce?void 0:ce.id,name:null==ce?void 0:ce.name},e.analyticsData),analyticsOptions:h.d.getSliderHeadingAnalyticsOptions(),showSeeMoreLink:ge})),a.createElement("div",{ref:Z,className:"position-relative mx-n1 ".concat(se()?"".concat(I.Z.mobileScroll," px-4"):""," ").concat(e.hideBleedingContent?"overflow-hidden-x":"")},!fe&&a.createElement(a.Fragment,null,!e.hideBleedingContent&&!G&&!pe&&a.createElement("div",{className:I.Z.leftOverflowGradient}),a.createElement(d.W,{direction:d.f.Left,onClick:function(){M({type:p.n.Previous}),c.k.logUserAction(de(p.n.Previous),h.d.getSliderAnalyticsOptions()),i.q.isFunction(e.onPrevious)&&e.onPrevious()},hide:!!e.hideButtons||(0,w.yZ)(G,q,_.offset,_.viewableItems,ae.length),contents:e.contents,className:e.leftWidgetButtonClassName,hideExtendedClickableArea:e.hideExtendedClickableArea,state:_})),a.createElement(u.V,{position:_.position,positionType:m.C.Percentage,onTouchMove:"drag"===e.touchBehavior&&(0,w.p$)(_,V,T,P,z,A,F),onTouchEnd:"drag"===e.touchBehavior&&(0,w.mE)(V,A,U,F,M,e.onNext,e.onPrevious),ref:V,percentageDragged:U},ae.map((function(t,n){return a.createElement(ue,Object.assign({key:"".concat(t.id,":").concat(n),data:t,collectionAppLink:e.appLink,getAppLink:e.getChildAppLink?function(){return e.getChildAppLink(t)}:function(){return null},context:oe,preloadImage:(0,w.eM)(_,ae)(t),thumbnailSize:e.thumbnailSize||f.h2.Medium,analyticsData:Object.assign(Object.assign({widgetId:ce.id,widgetName:ce.name,itemIndex:n},C),N(t)),analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),h.d.getSliderItemAnalyticsOptions()),onHover:function(e){se()||window.setTimeout((function(){!function(e,t){if(ae.length===_.viewableItems)return X(e),void J(e);t+1!==ae.length?0!==t?(t+1-_.offset%_.viewableItems)%_.viewableItems!=0?(t-_.offset%_.viewableItems)%_.viewableItems!=0||X(e):J(e):X(e):J(e)}(e,n)}),e?0:200)}},e.extraChildComponentProps))})),se()&&a.createElement("div",{className:"ps-4"})),!fe&&a.createElement(a.Fragment,null,a.createElement(d.W,{direction:d.f.Right,onClick:function(){me?o.Q.C$.trigger((0,w.LU)(e.appLink,ce)):(M({type:p.n.Next}),c.k.logUserAction(de(p.n.Next),h.d.getSliderAnalyticsOptions()),i.q.isFunction(e.onNext)&&e.onNext())},hide:!!e.hideButtons||(0,w.DK)(K,q,_.offset,_.viewableItems,ae.length,me),contents:e.contents,hoverText:me&&r.T.getPhrase(O,"seeMore"),className:e.rightWidgetButtonClassName,hideExtendedClickableArea:e.hideExtendedClickableArea,state:_}),!e.hideBleedingContent&&!K&&!ve&&a.createElement("div",{className:I.Z.rightOverflowGradient})))))}S.defaultProps={type:b.l9.Row,minimumItemCount:0,extraChildComponentProps:{},touchBehavior:"scroll"}},61871:(e,t,n)=>{n.d(t,{CU:()=>l,eS:()=>s,m0:()=>u});var a=n(10841),r=n(26154),i=n(92644),s={offset:0,viewableItems:4,position:0,totalItems:0,contents:null,type:r.l9.Row},o=function(e){var t=e.viewableItems,n=e.offset,a=e.position,r=e.totalItems-n;return r%t==0||r>t?{position:a-100,offset:n+t}:r<t?{position:a-r/t*100,offset:n+r}:{position:a,offset:n}},c=function(e){var t=e.viewableItems,n=e.offset,a=e.position,r=n-t;return r%t==0||r>t?{position:a+100,offset:n-t}:r<t?{position:a+r/t*100,offset:n-r}:{position:a,offset:n}};function l(e,t){var n=t.type,r=t.payload,s=void 0===r?{}:r;switch(n){case a.n.Next:return Object.assign(Object.assign({},e),o(e));case a.n.Previous:return Object.assign(Object.assign({},e),c(e));case a.n.JumpToIndex:return Object.assign(Object.assign({},e),{offset:s.offset,position:-100*(s.offset-1)});case a.n.Resize:var l=(0,i.Wl)(e.contents)(s.breakpoints,e.type,e.totalItems);return Object.assign(Object.assign({},e),{position:0,offset:l,viewableItems:l});case a.n.Init:var d=(0,i.Wl)(s.contents)(s.breakpoints,s.type,s.totalItems);return u(Object.assign(Object.assign({},e),{offset:d,viewableItems:d,type:s.type,contents:s.contents,totalItems:s.totalItems,position:0}));case a.n.Update:return Object.assign(Object.assign({},e),{totalItems:s.totalItems});default:return e}}function u(e){return Object.assign(Object.assign({},s),e)}},92644:(e,t,n)=>{n.d(t,{$5:()=>m,DK:()=>U,LU:()=>p,Wl:()=>g,eM:()=>f,iV:()=>F,lv:()=>v,mE:()=>P,p$:()=>L,yZ:()=>D});var a=n(32735),r=n(91967),i=n(1048),s=n(28400),o=n(58704),c=n(10841),l=n(79967),u=n(26154),d=n(5281);function m(e,t,n){var s,o=e.collection;o&&!i.t.isEmpty(o)||e.prefetched||(s=e.fetch(n),o=s.data);var m=r.q.isFunction(e.setData)&&o?e.setData(o):o,f=m,p=(0,l.k)();return a.useEffect((function(){if(o&&!i.t.isEmpty(o)){e.limitTotalItems&&(f=m.length>d.x?m.slice(0,d.x):m);var n=e.type;n===u.l9.ResourcesTile&&(n=u.l9.Row),t({type:c.n.Init,payload:{totalItems:f.length,breakpoints:p,type:n,contents:e.contents}})}}),[null==m?void 0:m.length]),s}function f(e,t){for(var n=e.offset,a=e.viewableItems,r=n,i=[],s=0;s<r+a;s++)i.push(s);return function(e){var n=t.indexOf(e);return i.includes(n)}}function p(e,t){if(e)return Object.assign(Object.assign({},e),{args:e.args||[t.id,s.m.slugify(t.name)]})}function v(e,t){var n=e.name,a=e.description,r={};return Array.isArray(t)?{name:n,description:a}:(e.name&&(r.name=n),e.description&&(r.description=a),Object.assign(Object.assign({},t),r))}function g(e){switch(e){case o.z.Playlists:return y;case o.z.Videos:return E;case o.z.RecentActivities:return w;case o.z.FeedVideos:return j;case o.z.Subjects:return I;case o.z.InteractivesV2:return O;case o.z.Interactives:return k;case o.z.ClipsV2:return x;case o.z.Clips:return C;case o.z.PlayPageResources:return S;case o.z.DashboardResources:return E;case o.z.Libraries:case o.z.Folders:return h;case o.z.Ratings:return z;case o.z.SpecialEvents:return A;case o.z.Companies:return b;case o.z.SmallSeries:return R;case o.z.Series:default:return N}}function y(e,t,n){var a=5;return e.xs?a=2:e.sm?a=3:e.md&&(a=4),n<a&&(a=n),a}function b(e,t,n){var a=8;return e.xs||e.sm?a=4:e.md&&(a=6),n<a&&(a=n),a}function h(e,t,n){var a=3;return e.xs||e.sm?a=1:e.md?a=2:e.lg&&(a=3),n<a&&(a=n),a}function E(e,t,n){var a=4;return e.xs&&(a=1),e.sm&&(a=2),(e.md||e.lg)&&(a=3),t===u.l9.LargeRow&&a>3&&(a=3),n<a&&(a=n),a}function w(e,t,n){var a=4;return e.xs&&(a=2),e.sm&&(a=3),n<a&&(a=n),a}function j(e,t,n){return 1}function I(e,t,n){if(t===u.l9.LargeRow){var a=5;return e.xs?a=2:e.sm?a=3:e.md&&(a=4),n<a&&(a=n),a}var r=6;return e.xs?r=2:e.sm?r=3:e.md?r=4:e.lg?r=5:(e.xl||e.xxl)&&(r=6),n<r&&(r=n),r}function k(e,t,n){var a=3;return(e.md||e.sm)&&(a=2),e.xs&&(a=1),n<Math.ceil(a)&&(a=n),a}function C(e,t,n){var a=3;return(e.md||e.sm)&&(a=2),e.xs&&(a=1),n<Math.ceil(a)&&(a=n),a}function O(e,t,n){var a=4;return e.sm&&(a=3),e.xs&&(a=2),n<a&&(a=n),a}function x(e,t,n){var a=4;return e.sm&&(a=3),e.xs&&(a=2),n<a&&(a=n),a}function S(e,t,n){var a=4;return e.sm&&(a=3),e.xs&&(a=2),n<a&&(a=n),a}function N(e,t,n){var a=4;return e.xs?a=2:e.sm&&(a=3),n<a&&(a=n),a}function R(e,t,n){var a=6;return e.xs?a=2:e.sm?a=3:e.md?a=4:e.lg&&(a=5),n<a&&(a=n),a}function z(e,t,n){if(n<4)return n;var a=5;return(e.xs||e.sm)&&(a=3),(e.md||e.lg)&&(a=4),4===n&&(e.xs||e.sm)&&(a=3),n<a&&(a=n),a}function A(e,t,n){if(n<6)return n;var a=6;return e.xs&&(a=2),e.sm&&(a=3),e.md&&(a=4),e.lg&&(a=5),(e.xl||e.xxl)&&(a=6),n<a&&(a=n),a}function L(e,t,n,a,r,i,s){return function(o){var c=o.touches.item(0).clientX;r||(t.current.style.transition="",a(t.current.getBoundingClientRect().width),i(c));var l=(r-c)/n*100;(l<0&&e.offset===e.viewableItems||l>0&&e.offset===e.totalItems)&&(l=0),s(l)}}var T=7.5;function P(e,t,n,a,r,i,s){return function(){if(e.current.style.transition="transform .4s ease-in-out",t(null),Math.abs(n)>=T){var o=n>0?c.n.Next:c.n.Previous;r({type:o}),n>0&&i?i():n<0&&s&&s()}a(0)}}function D(e,t,n,a,r){return!!e||r<=a||!t||n===a}function U(e,t,n,a,r,i){return!!e||r<=a||n!==a&&(!t||!i&&r<=n)}function F(e,t){a.useEffect((function(){e&&!e.current&&(e.current={jumpToIndex:function(e){return t({type:c.n.JumpToIndex,payload:{offset:e+1}})}})}),[null==e?void 0:e.current])}},31309:(e,t,n)=>{n.d(t,{j:()=>o});var a=n(32735),r=n(55827),i=n(79967),s=n(52993);function o(e){for(var t,n,s=(t=e.size,(n=(0,i.k)()).xs?{itemCount:1,colSize:12}:n.sm?{itemCount:2,colSize:6}:n.md||n.lg?{itemCount:3,colSize:4}:{itemCount:"sm"===t?4:3,colSize:"sm"===t?3:4}),o=s.itemCount,c=s.colSize,l=e.childComponent,u=[],d=0;d<o;d++)u.push(a.createElement(l,{key:d,colSize:c}));return a.createElement("div",{className:"widget"},a.createElement(r.l,{hideHeading:e.hideHeading,hideDescription:e.hideDescription}),a.createElement("div",{className:"row g-0 mx-n1"},u))}o.defaultProps={size:"sm",childComponent:function(e){var t=e.colSize;return a.createElement("div",{className:"col-".concat(t," px-1")},a.createElement("div",{className:"".concat(s.Z.partialItem," partial-loading-background rounded-3")}))}}},11518:(e,t,n)=>{n.d(t,{j7:()=>r.j,kM:()=>a.k});var a=n(5281),r=(n(61871),n(31309))},93071:(e,t,n)=>{n.d(t,{s:()=>N,R:()=>R});var a=n(32735),r=n(39202),i=n(92582),s=n(65858),o=n(57408),c=n(11607),l=n(86073),u=n(54610),d=n(1164),m=n(67453),f=n(4594),p={isType:function(e,t){return(null==e?void 0:e.typeId)===t},isResource:function(e){return p.isType(e,f.E.Resource)}},v=n(85473);const g={imageStyle:"FFgf3",imageTypeResource:"z4O5p",fallBackImage:"Xy4zX"};var y={width:200,resizeType:u.Nq.Cover};function b(e){var t;return p.isResource(e)?e.metadata.type===d.L.Pdf||(null===(t=e.pdf)||void 0===t?void 0:t.url)?u.__.Pdf:u.__.Thumbnails:u.__.Link}function h(e){var t,n,r,i=null,s=0;p.isResource(e.resource)&&(i=e.resource.metadata,s=null!==(r=null===(n=null===(t=e.resource.thumbnail)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.rotation)&&void 0!==r?r:0);var o=function(e,t){var n,a,r,i=b(t);if("thumbnail"in t&&(null===(n=t.thumbnail)||void 0===n?void 0:n.url))return m.j.createUrl(null===(a=t.thumbnail)||void 0===a?void 0:a.url,Object.assign({},y));var s=l._.safeUrlConcat(e,"/v1/previews");return p.isResource(t)?i===u.__.Pdf?t.metadata.type===d.L.Pdf?m.j.createResourceImage(s,t.url,Object.assign({},y)):m.j.createResourceImage(s,null===(r=t.pdf)||void 0===r?void 0:r.url,Object.assign({},y)):t.metadata.type!==d.L.Zip?m.j.createUrl(t.url,{size:u.h2.Medium,resizeType:u.Nq.Cover}):"/images/zip-resource.png":m.j.createResourceImage(s,t.url,Object.assign({},y))}(e.imageCdnUrl,e.resource);return a.createElement(v.Z,{data:o,imageType:b(e.resource),imageStyle:{transform:"rotate(".concat(s,"deg)")},alt:e.resource.name,errorFallbackImageSrc:e.imageErrorFallbackUrl,errorFallbackImageClassName:g.fallBackImage,imageClassName:(null==i?void 0:i.type)===d.L.Image?"".concat(g.imageTypeResource," ").concat(g.imageStyle):"",preload:e.preloadImage,preventLoad:!e.preloadImage})}var E=n(83914),w=n(97663),j=n(64444),I=n(1948),k=n(71063),C=n(79967),O={getResourceTypeName:function(e){switch(e){case"additional-materials":return"Additional Materials";case"atom-guide":return"ATOM Guide";case"teacher-pack":return"Teacher Pack";case"student-activity":return"Student Activity";default:return"N/A"}}},x=n(35223);const S={imageStyle:"I9E5O",item:"tqUFn",dashboard:"o7j7p",playPage:"V2RwX",aspectRatio:"OnJDH",outerContainer:"CIFy7",innerContainer:"oUZPD",actions:"jzGAm",titleBelow:"Cpjs3",thumbnailContainer:"EDiGi",titleAbove:"e9ejn",teacherPack:"_tdVE",text:"g5NWS",hoverState:"xRYhX",atomGuide:"X39wU",studentActivity:"X9pMl",additionalMaterials:"qRVUo",userUploaded:"_18JaV",imageTypeResource:"KYtZL",download:"fbb_e"};function N(e){var t,n,r,i,s=null;"metadata"in e.data&&(s=e.data.metadata);var o=p.isType(e.data,f.E.Resource);return a.createElement(a.Fragment,null,a.createElement("div",{className:S.aspectRatio},a.createElement("div",{className:S.outerContainer},a.createElement("div",{className:function(t){var n,a="\n d-flex flex-column align-items-center justify-content-end rounded-3 h-100\n position-relative ".concat(function(e){switch(e){case"atom-guide":return S.atomGuide;case"student-activity":return S.studentActivity;case"teacher-pack":return S.teacherPack;case"additional-materials":return S.additionalMaterials;default:return S.userUploaded}}(t)," ").concat(S.innerContainer);return(null===(n=e.theme)||void 0===n?void 0:n.containerClass)?a+=" ".concat(e.theme.containerClass):a+=" pt-3 px-3",e.applyHoverState&&(a+=" ".concat(S.hoverState)),a}(null==s?void 0:s.resourceType)},"above"===e.titlePosition&&a.createElement(j.u,{title:e.data.name},a.createElement("h3",{className:"text-center text-break h5 mb-3 ".concat(S.text)},a.createElement("span",{className:"clamp-1"},e.data.name))),a.createElement("div",{className:"\n ".concat(null!==(n=null===(t=e.theme)||void 0===t?void 0:t.thumbnailContainerClass)&&void 0!==n?n:""," w-75 overflow-hidden \n ").concat(S.thumbnailContainer," ").concat("above"===e.titlePosition?S.titleAbove:""," \n ").concat(S.imageStyle,"\n ")},a.createElement(h,{resource:e.data,imageCdnUrl:e.imageCdnUrl,imageErrorFallbackUrl:e.imageErrorFallbackUrl,preloadImage:e.preloadImage})),o&&e.onClickDownload&&"normal"===e.actionBehaviour&&a.createElement("div",{className:S.actions},a.createElement(c.L,{onClick:function(t){return e.onClickDownload(t,e.data)},className:"".concat(S.download," d-flex align-items-center justify-content-center")},a.createElement(E.x,{svgName:x.vn.Download}))),!e.hideTypeBadge&&o&&a.createElement(I.y,{typeId:f.E.Resource})))),"below"===e.titlePosition&&a.createElement("div",{className:"mt-1 ".concat(S.titleBelow)},p.isType(e.data,f.E.Resource)&&!!(null===(i=null===(r=e.data)||void 0===r?void 0:r.metadata)||void 0===i?void 0:i.resourceType)&&a.createElement(w.m,null,O.getResourceTypeName(e.data.metadata.resourceType)),a.createElement("h3",{className:"h6 clamp-2"},e.data.name)))}N.defaultProps={preloadImage:!0,actionBehaviour:"normal"};var R=a.memo((function(e){var t,n,c,l,u=(t=e.data,n=e.actionBehaviour,l=(0,C.k)(),"public"===n||!l.xs&&!l.sm&&"resource"===t.type&&"metadata"in t&&(t.metadata.type===d.L.Image||(t.metadata.type===d.L.Pdf?!!t.url:!!(null===(c=t.pdf)||void 0===c?void 0:c.url)))),m=Object.assign(Object.assign({},e.analyticsData),e.data),p=Object.assign(Object.assign({},e.analyticsOptions),{actionType:s.Vw.Click,entity:e.data.typeId===f.E.Resource?s.py.Resource:s.py.Link});function v(){i.k.logUserAction(m,p)}var g,y=Object.assign(Object.assign({},e),{applyHoverState:u||!!e.data.url});return a.createElement("div",{className:"px-1 flex-shrink-0 ".concat(S.item," ").concat("play-page"===e.location?S.playPage:S.dashboard," ").concat(k.M.RESOURCE_ITEM_SELECTOR)},(g="d-block no-decoration","link"===e.data.type?a.createElement("a",{href:e.data.url,target:"_blank",className:g,onClick:v},a.createElement(N,Object.assign({},y))):u?"public"===e.actionBehaviour?a.createElement("div",{className:"".concat(g," cursor-pointer d-inline"),onClick:function(){v(),r.C$.trigger(e.getAppLink(e.data))}},a.createElement(N,Object.assign({},y))):a.createElement(o.F,{appLink:e.getAppLink(e.data),className:g,analyticsData:m,analyticsOptions:p},a.createElement(N,Object.assign({},y))):e.data.url?a.createElement("a",{href:e.data.url,className:g,onClick:v},a.createElement(N,Object.assign({},y))):a.createElement("div",{className:g},a.createElement(N,Object.assign({},y)))))}))},58704:(e,t,n)=>{var a;n.d(t,{z:()=>a}),function(e){e.Videos="videos",e.FeedVideos="feed videos",e.Series="series",e.Subjects="subjects",e.Playlists="playlists",e.Interactives="interactives",e.Clips="clips",e.PlayPageResources="play page resources",e.DashboardResources="dashboard resources",e.Libraries="Libraries",e.Folders="Folders",e.RecentActivities="recent activities",e.SmallSeries="small series",e.Companies="companies",e.Ratings="ratings",e.SpecialEvents="special events",e.InteractivesV2="interactives v2",e.ClipsV2="clips v2"}(a||(a={}))},61699:(e,t,n)=>{n.d(t,{o:()=>l});var a=n(99940),r=n(97395);function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var o=n(62803).v.CLASSIFICATION_COLLECTION,c=function(e){return"/api/domain/v1/subjects/presentations/available".concat(e?"?type=".concat(e):"")},l={availablePresentations:function(e){return{url:c(e),key:"available:presentations:".concat(e),normalizeOptions:{namespace:"presentation"}}},setPresentation:function(e,t,n,r){return{url:(i=e.id,"/api/domain/v1/subjects/presentations/".concat(i)),key:"set:".concat(t,":presentation"),type:a.k.POST,data:{},normalizeOptions:{namespace:"presentation"},invalidationKeys:["current:presentation:".concat(t.toLocaleLowerCase()),"subject:preference:options","my:subject:preferences","level:preference:options","my:level:preferences","classifications","presentation:audiences","widgets:v3","content:update:videos","content:updates"],success:n,error:r};var i},allSubjectPreferences:function(){return{url:"/api/domain/v1/subjects/preferences?query=".concat(o,"&type=subject"),key:"subject:preference:options"}},mySubjectPreferences:function(e){return{url:"/api/domain/v1/subjects/classifications/following?query=".concat(o),key:"my:subject:preferences",normalize:!1,success:e}},followSubjects:function(e,t,n,r){return{url:"/api/domain/v1/subjects/classifications/following",key:"follow:subjects",data:e,type:a.k.POST,success:t,error:n,always:r,invalidationKeys:[].concat(i(e.map((function(e){return"classification:".concat(e)}))),["my:subject:preferences","classifications","content:updates"])}},unfollowSubjects:function(e,t,n,s){return{url:(o=e,r._.urlBuilder("/api/domain/v1/subjects/classifications/following",{id:o})),key:"unfollow:subjects",type:a.k.DELETE,success:t,error:n,always:s,invalidationKeys:[].concat(i(e.map((function(e){return"classification:".concat(e)}))),["my:subject:preferences","classifications","content:updates"])};var o},allLevelPreferences:function(){return{url:"/api/domain/v1/subjects/audiences?type=subject",key:"level:preference:options",normalize:!1}},myLevelPreferences:function(e){return{url:"/api/domain/v1/subjects/audiences/following",key:"my:level:preferences",normalizeOptions:{idAttribute:"masterId"},success:e}},followLevels:function(e,t,n,r){return{url:"/api/domain/v1/subjects/audiences/following",key:"follow:levels",data:e.map((function(e){return e.masterId})),normalize:!1,updateState:{keys:"my:level:preferences",updateData:function(t){var n,a=null!==(n=t["my:level:preferences"])&&void 0!==n?n:[];return e.forEach((function(e){a.find((function(t){return t.masterId===e.masterId}))||a.push(e)})),{"my:level:preferences":a}}},type:a.k.POST,success:t,error:n,always:r}},unfollowLevels:function(e,t,n,s){return{url:(o=e.map((function(e){return e.masterId})),r._.urlBuilder("/api/domain/v1/subjects/audiences/following",{id:o})),key:"unfollow:levels",normalize:!1,updateState:{keys:"my:level:preferences",updateData:function(t){var n,a=null!==(n=t["my:level:preferences"])&&void 0!==n?n:[];return e.forEach((function(e){if(a.find((function(t){return t.masterId===e.masterId}))){var t=a.findIndex((function(t){return t.masterId===e.masterId}));a=[].concat(i(a.slice(0,t)),i(a.slice(t+1)))}})),{"my:level:preferences":a}}},type:a.k.DELETE,success:t,error:n,always:s};var o}}},52993:(e,t,n)=>{n.d(t,{Z:()=>a});const a={rightOverflowGradient:"tAbzW",leftOverflowGradient:"JXtNs",partialItem:"iNH_I",mobileScroll:"bDcOS"}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[254],{40861:(e,a,t)=>{t.d(a,{D:()=>v});var n=t(32735),i=t(39202),r=t(23481),l=t(65858),s=t(92582),o=t(57408),c=t(18559),d=t(11607);const p={pillTabSelector:"Hdi6o",pillItem:"hUJx1"};function u(e){var a;return n.createElement("nav",{className:null!==(a=e.className)&&void 0!==a?a:""},n.createElement("ul",{className:"list-unstyled d-inline-block m-0 ".concat(p.pillTabSelector)},e.tabs.map((function(e){return n.createElement("li",{className:"p-0 ".concat(e.active?"btn btn-dark":"btn btn-outline-dark"),key:e.name},e.appLink?n.createElement(o.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"cursor-pointer d-flex justify-content-center text-decoration-none text-reset px-2 ".concat(p.pillItem)},e.name,"number"==typeof e.count&&n.createElement("div",{className:"ps-2"},n.createElement(c.C,{type:c.g.Count,data:e.count}))):n.createElement(d.L,{className:"".concat(p.pillItem," d-flex justify-content-center p-2"),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&s.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},e.name,"number"==typeof e.count&&n.createElement("div",{className:"ps-2"},n.createElement(c.C,{type:c.g.Count,data:e.count}))))}))))}const m={pillTab:"Vrjid"};var g="streamable.header";function v(e){var a,t,s,o,c,d,p=[{name:r.T.getPhrase(g,"heading"),appLink:null===(a=e.appLinks)||void 0===a?void 0:a.discover,active:"discover"===e.active,analyticsData:{name:r.T.getPhrase(g,"heading"),url:i.C$.getHref(null===(t=e.appLinks)||void 0===t?void 0:t.discover)},analyticsOptions:{actionType:l.Vw.Click,entity:l.py.Url,location:l.LZ.MagicTabs}},{name:r.T.getPhrase(g,"livestreams"),appLink:null===(s=e.appLinks)||void 0===s?void 0:s.calendar,active:"calendar"===e.active,analyticsData:{name:r.T.getPhrase(g,"livestreams"),url:i.C$.getHref(null===(o=e.appLinks)||void 0===o?void 0:o.calendar)},analyticsOptions:{actionType:l.Vw.Click,entity:l.py.Url,location:l.LZ.MagicTabs}},{name:r.T.getPhrase(g,"partners"),appLink:null===(c=e.appLinks)||void 0===c?void 0:c.partners,active:"partners"===e.active,analyticsData:{name:r.T.getPhrase(g,"partners"),url:i.C$.getHref(null===(d=e.appLinks)||void 0===d?void 0:d.partners)},analyticsOptions:{actionType:l.Vw.Click,entity:l.py.Url,location:l.LZ.MagicTabs}}];return n.createElement("div",{className:"py-3 text-center"},n.createElement(u,{tabs:p,className:m.pillTab}))}},14254:(e,a,t)=>{t.r(a),t.d(a,{DashboardView:()=>j});var n=t(32735),i=t(23481),r=t(57900),l=t(20354),s=t(2948),o=t(75896),c=t(40861),d=t(78605),p=t(22902),u=t(26154),m=t(21366),g=t(15800),v=t(83345),y=t(64444),h=t(35223),b="streamable.dashboardEmptyState",f=i.T.encloseNamespace(b);function k(e){var a,t,r=(null===(a=e.dashboard)||void 0===a?void 0:a.status)===u.GL.Archived;return n.createElement(g.u,null,n.createElement(g.u.Image,{src:e.imageUrl,altText:f("info")}),n.createElement(g.u.Heading,null,n.createElement(v.x,{namespace:b,phrase:"heading"})),n.createElement(g.u.Info,null,n.createElement(v.x,{namespace:b,phrase:"info"})),n.createElement(y.u,{title:r?i.T.getPhrase(b,"archivedCtaTooltip"):"",spanHack:!0},n.createElement(g.u.Cta,{text:i.T.getPhrase(b,"add"),appLink:null===(t=e.addWidgetApplink)||void 0===t?void 0:t.call(e),className:"btn btn-dark",icon:h.vn.Plus,disabled:r})))}function L(e){var a,t=o.m.sortBy(null===(a=e.dashboard)||void 0===a?void 0:a.widgets,"index"),i=(0,p.T)(),r=i.hasPermissions,l=i.hasLocalPermissions;function s(a,t,n){var i=m.S.getWidgetParams(t,n,m.S.getDashboardTargetType(e.dashboard));return e.getWidgetContentRequest(a,i,n)}var g=e.isReadonly&&!(null==t?void 0:t.length);return n.createElement(n.Fragment,null,n.createElement(c.D,{active:"discover",appLinks:e.headerAppLinks}),t.map((function(a,t){return n.createElement(d.L,{key:a.id,id:a.id,imageCdnUrl:e.imageCdnUrl,getContentRequest:s,audiences:e.audiences,name:a.name,description:a.description,templateId:a.templateId,metadata:a.metadata,presentation:e.presentation,appLinks:e.widgetAppLinks,isScrollToTargetWidget:(null==e?void 0:e.scrollToWidgetId)===a.id,widgetTypeId:a.widgetId,lazyLoad:e.lazyLoad,dashboardTarget:u.ku.Discover,widgetIndex:t,isPreviewing:e.isReadonly,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:"productionCompany",contentType:u.VH.Livestream,resourceThumbnailFallbackImageUrl:"",preferences:a.preferences,hasPermissions:r,hasLocalPermissions:l,preventPopout:!0})})),g&&n.createElement(k,{dashboard:e.dashboard,isReadonly:e.isReadonly,imageUrl:e.emptyImageUrl,addWidgetApplink:e.widgetAppLinks.widgetWizard}))}var T=t(38143),E=t(25925),C=t(89454),A=t(39151),D=t(80889),O=t(79612),w=t(69454),P=t(25301),I=t(99742),N=t(41760),S=t(31700),U=t(73688),x=t(6117),R=t(27051);function F(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=new Array(a);t<a;t++)n[t]=e[t];return n}var H=i.T.encloseNamespace("streamableDashboard.dashboard");function j(e){var a,t,i,o=l.a.useBasicFetch(A.L.config()),c=l.a.useBasicFetch(S.g.streamablePresentation()),d=l.a.useBasicFetch(c.data&&C.O.presentationAudiences(c.data.id,E.R.StreamableLearning)),p=(0,U.B)({targetType:u.ku.Discover,dashboardId:null===(a=e.queryParams)||void 0===a?void 0:a.dashboardId}).dashboard,m=(t=(0,s.D)(T.g.AUDIENCE_FILTER,void 0,{storage:r.Z1.SessionStorage}),i=1,function(e){if(Array.isArray(e))return e}(t)||function(e,a){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,r,l,s=[],o=!0,c=!1;try{if(r=(t=t.call(e)).next,0===a){if(Object(t)!==t)return;o=!1}else for(;!(o=(n=r.call(t)).done)&&(s.push(n.value),s.length!==a);o=!0);}catch(e){c=!0,i=e}finally{try{if(!o&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw i}}return s}}(t,i)||function(e,a){if(e){if("string"==typeof e)return F(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?F(e,a):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],g=(0,R.E)(w.T.getAudienceParams(m));return(0,O.M)(P.CG.getDiscoverMetadata({content:c.data,phraseContext:{phraseHandler:H,titlePhrase:"pageTitle",descriptionPhrase:"pageDescription"},canonicalLink:x.f.getCanonicalLink(),allowIndexing:!0,product:N.L.PRODUCT_NAME})),o.hasCompleted&&p.hasCompleted&&c.hasCompleted&&d.hasCompleted?n.createElement("div",{className:"bg-white px-4"},n.createElement(L,{dashboard:p.data,widgetAppLinks:g,headerAppLinks:(0,R.h)(),presentation:c.data,imageCdnUrl:o.data.imageCdnUrl,getWidgetContentRequest:D._.dashboardWidgetContent,audiences:d.data,lazyLoad:!x.f.isBot(),companyLogoFallbackUrl:I.W.StreamableLearning.LOGO})):n.createElement(n.Fragment,null)}},27051:(e,a,t)=>{t.d(a,{E:()=>l,h:()=>s});var n=t(96359),i=t(41135),r=t(65751);function l(e){return Object.assign(Object.assign({},r.y),{classification:function(a){return r.y.classification(a,e)},classificationTopics:function(){return r.y.classificationTopics(e)}})}function s(){return{discover:{application:i.O.DASHBOARD,action:n.e.Dashboard.HOME},calendar:{application:i.O.CALENDAR,action:n.e.Calendar.CALENDAR},partners:{application:i.O.DASHBOARD,action:n.e.Dashboard.CONTENT_PARTNERS}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[284],{66869:(e,t,n)=>{n.d(t,{B:()=>u});var a=n(32735),i=n(23481),c=n(65858),r=n(57408);const s={seeMore:"yv0FS"};var o=i.T.encloseNamespace("shared.widgetHeader");function l(e){return a.createElement("div",{className:"ms-3 ".concat(s.seeMore)},a.createElement(r.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{descriptor:c._S.SeeMore}),className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":"")},a.createElement("p",{className:"hover-text-underline text-dark curated-widget-heading"},o("seeMore"))))}function u(e){var t=!!e.description;return e.name||e.description?a.createElement("div",{className:"curated-widget-header"},a.createElement("div",{className:"d-flex justify-content-between"},!!e.name&&a.createElement("div",{className:s.title},a.createElement(r.F,{appLink:e.appLink,analyticsOptions:e.analyticsOptions,analyticsData:e.analyticsData,className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":"")},a.createElement("h2",{className:"h4 curated-widget-heading"},e.name))),!!e.appLink&&!t&&!!e.showSeeMoreLink&&a.createElement(l,Object.assign({},e))),t&&a.createElement("div",{className:"d-flex justify-content-between align-items-end"},a.createElement("p",{className:"description curated-widget-description ".concat(s.description)},a.createElement("span",null,e.description)),!!e.appLink&&!!e.showSeeMoreLink&&a.createElement(l,Object.assign({},e)))):a.createElement(a.Fragment,null)}},43872:(e,t,n)=>{n.d(t,{V:()=>u});var a=n(32735),i=n(82182),c=n(31069),r=n(91967),s=new Image;s.src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";var o=function(e){e.dataTransfer.setDragImage&&r.q.isFunction(e.dataTransfer.setDragImage)&&e.dataTransfer.setDragImage(s,0,0)},l=i.V.isTouchScreen(),u=a.forwardRef((function(e,t){var n,i,r,s,u=e.children,p=e.positionType,d=e.onDrag,m=e.onDragEnd,v=e.onTouchMove,f=e.onTouchEnd,b=e.percentageDragged,y=e.position,g=void 0===y?0:y;return a.createElement("div",Object.assign({className:"d-flex flex-nowrap position-relative w-100",style:(i=g,r=p,s=b,r===c.C.Percentage&&s&&(i-=s),{transform:"translate3d(".concat(i).concat(r,", 0px, 0px)"),transition:"transform .4s ease-in-out"}),ref:t},(n={},d&&m&&(n.draggable=!0,n.onDragEnd=m,n.onDragStart=o,n.onDragOver=d),v&&f&&l&&(n.onTouchMoveCapture=v,n.onTouchEndCapture=f),n)),u)}))},53855:(e,t,n)=>{n.d(t,{W:()=>l,f:()=>o});var a=n(32735),i=n(83914),c=n(35223);const r="VSAPU",s="kgeXh";var o;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(o||(o={}));var l=a.memo((function(e){var t,n,l,u=e.direction===o.Left,p=u?c.vn.ChevronLeft:c.vn.ChevronRight;return e.hide?a.createElement(a.Fragment,null):a.createElement("div",{className:"_ejId",style:"videos"===(null===(n=e.state)||void 0===n?void 0:n.contents)?{paddingBottom:56.25/(null===(l=e.state)||void 0===l?void 0:l.viewableItems)+"%"}:{height:"100%"}},e.useGradientBackdrop&&a.createElement("div",{className:u?"".concat("Pt3nx"," ").concat(e.leftGradientClassName):"".concat("ZuAif"," ").concat(e.rightGradientClassName)}),!e.hideExtendedClickableArea&&a.createElement("div",{role:"button",onClick:e.onClick,className:"".concat("AtsWP"," ").concat(u?r:s)}),a.createElement("div",{role:"button",className:"".concat((t="BVcIS",t+=u?" ".concat(r," ").concat(e.leftButtonClassName):" ".concat(s," ").concat(e.rightButtonClassName))," ").concat("gAsE9"," ").concat(e.className||""),onClick:e.onClick},e.hoverText&&a.createElement("span",{className:"ps-3 pe-2 ".concat("APA36")},e.hoverText),a.createElement(i.x,{svgName:p,size:i.S.Medium,className:"svg-container d-inline-block ".concat("Ev4hr")})))}))},31069:(e,t,n)=>{var a;n.d(t,{C:()=>a}),function(e){e.Percentage="%",e.Pixels="px"}(a||(a={}))},10841:(e,t,n)=>{var a;n.d(t,{n:()=>a}),function(e){e.Init="init",e.Next="next",e.Previous="previous",e.Resize="resize",e.Drag="drag",e.Update="update",e.JumpToIndex="jump-to-index"}(a||(a={}))},21750:(e,t,n)=>{n.d(t,{x:()=>p});var a,i=n(97395),c=n(75896);!function(e){e.Playlists="playlists",e.Series="series",e.Videos="videos",e.PinnedVideos="pinnedVideos"}(a||(a={}));var r=n(62803),s=n(78417),o=n(25925);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var u=function(e){return"subjectpresentationaudiences.id:[".concat(e.join(","),"]")},p={topicsFromAllAvailablePresentations:function(e){var t={filterType:"topics",presentationId:e};return{url:i._.urlBuilder("{gateway}/v1/search/filters",t),publicUrl:i._.urlBuilder("/api/search/filters",t),key:"classification:availableTopics",normalize:!1}},availablePresentations:function(e){var t={type:null==e?void 0:e.toLowerCase()};return{url:i._.urlBuilder("/api/domain/v1/subjects/presentations/available",t),publicUrl:i._.urlBuilder("/api/subjects/presentations/available",t),key:"available:presentations:".concat(e),normalizeOptions:{namespace:"presentation"}}},topLevelTopics:function(e){var t={query:r.v.CLASSIFICATION_COLLECTION,sort:"alphabetical"};return{url:i._.urlBuilder("/api/domain/v1/subjects/presentations/".concat(e,"/classifications"),t),publicUrl:i._.urlBuilder("/api/subjects/presentations/".concat(e,"/classifications"),t),key:"presentation:".concat(e,":classifications")}},presentationById:function(e){return{url:"/api/domain/v1/subjects/presentations/".concat(e),publicUrl:"/api/subjects/presentations/".concat(e),key:"presentation:".concat(e)}},presentationBySlug:function(e,t,n){var a={type:n.toLowerCase(),contentRegion:t};return{url:i._.urlBuilder("/api/subjects/presentations/".concat(e),a),publicUrl:i._.urlBuilder("/api/subjects/presentations/".concat(e),a),key:"current:presentation:".concat(n.toLowerCase(),":").concat(t,":").concat(null!=e?e:""),bootstrapName:"presentation",normalizeOptions:{namespace:"presentation"}}},presentation:function(e,t){var n={type:null==e?void 0:e.toLowerCase()};return{url:i._.urlBuilder("/api/domain/v1/subjects/presentations",n),publicUrl:i._.urlBuilder("/api/subjects/presentations/".concat(t),n),key:"current:presentation".concat(e?":".concat(e.toLowerCase()):"").concat(t?":".concat(t):""),normalizeOptions:{namespace:"presentation"}}},classifications:function(){return{url:i._.urlBuilder("/api/domain/v1/subjects",{query:r.v.CLASSIFICATION_COLLECTION,type:o.R.Subject.toLowerCase()}),publicUrl:i._.urlBuilder("/api/subjects/classifications",{query:r.t.CLASSIFICATION_COLLECTION,type:o.R.Subject.toLowerCase()}),key:"classifications"}},classification:function(e,t,n){return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e),{query:r.v.CLASSIFICATION(t)}),publicUrl:i._.urlBuilder("/api/subjects/classifications/".concat(e),{query:r.t.CLASSIFICATION}),key:"classification:".concat(e),error:n}},path:function(e,t){var n={type:t};return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e,"/path"),n),publicUrl:"/api/subjects/classifications/".concat(e,"/path"),key:"classification:".concat(e,":path")}},children:function(e){return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e,"/children"),{query:r.v.CLASSIFICATION_COLLECTION}),publicUrl:i._.urlBuilder("/api/subjects/classifications/".concat(e,"/children"),{query:r.t.CLASSIFICATION_COLLECTION}),key:"classification:".concat(e,":children")}},videos:function(e,t,n){if(t){var c="limit:100,orderbydesc:timestamp";n.length&&(c+=",".concat(u(n)));var r={query:"{".concat(c,"}(videoCollection),subjectpresentationaudiences{presentationId:").concat(t,"}"),permissionFilterOption:s.r.StripMetadata};return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e,"/").concat(a.PinnedVideos),r),publicUrl:i._.urlBuilder("/api/subjects/classifications/".concat(e,"/").concat(a.PinnedVideos),r),key:"classification:".concat(e,":").concat(a.PinnedVideos,":").concat(n.join(":"))}}},playlists:function(e,t,n){if(t){var c="limit:100,orderby:name";n.length&&(c+=",".concat(u(n)));var o={query:"{".concat(c,"}").concat(r.v.PLAYLIST_COLLECTION)+",subjectpresentationaudiences{presentationId:".concat(t,"}"),permissionFilterOption:s.r.StripMetadata};return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e,"/").concat(a.Playlists),o),publicUrl:i._.urlBuilder("/api/subjects/classifications/".concat(e,"/").concat(a.Playlists),o),key:"classification:".concat(e,":").concat(a.Playlists,":").concat(n.join(":")),formatData:function(e){var t;if(e)return Object.assign(Object.assign({},e),{data:null===(t=e.data)||void 0===t?void 0:t.filter((function(e){var t;return null===(t=e.cover)||void 0===t?void 0:t.url}))})}}}},series:function(e,t,n){if(t){var c="limit:100";n.length&&(c+=",".concat(u(n)));var o={query:"{".concat(c,"}").concat(r.v.SERIES)+",subjectpresentationaudiences{presentationId:".concat(t,"}"),permissionFilterOption:s.r.StripMetadata};return{url:i._.urlBuilder("/api/domain/v1/subjects/".concat(e,"/").concat(a.Series),o),publicUrl:i._.urlBuilder("/api/subjects/classifications/".concat(e,"/").concat(a.Series),o),key:"classification:".concat(e,":").concat(a.Series,":").concat(n.join(":")),formatData:function(e){var t;if(e)return Object.assign(Object.assign({},e),{data:null===(t=e.data)||void 0===t?void 0:t.filter((function(e){var t;return null===(t=e.tallPoster)||void 0===t?void 0:t.url}))})}}}},curriculumLinks:function(e,t){return{url:i._.urlBuilder("/api/subjects/presentations/".concat(t,"/objects/").concat(e,"/classifications/paths"),{type:o.R.Curriculum.toLowerCase()}),publicUrl:i._.urlBuilder("/api/subjects/presentations/".concat(t,"/objects/").concat(e,"/classifications/paths"),{type:o.R.Curriculum.toLowerCase()}),key:"curriculum:links:".concat(e,":").concat(t),normalize:!1}},checkAllCurriculumsLinks:function(e,t,n){var a={type:o.R.Curriculum.toLowerCase()};return{url:i._.urlBuilder("/api/domain/v1/subjects/objects/".concat(e,"/presentations"),a),publicUrl:i._.urlBuilder("/api/subjects/".concat(e,"/presentations"),Object.assign(Object.assign({},a),{pid:t})),key:"check:all:curriculums:links:".concat(e,":").concat(t.join(",")),success:n,normalize:!1}},hasCurriculumLinks:function(e,t,n,a){var r=c.m.uniq(e).sort(),s=c.m.uniq(t).sort(),u={type:o.R.Curriculum.toLowerCase(),objectId:r};return(null==t?void 0:t.length)&&(u.presentationId=s),{url:i._.urlBuilder("/api/domain/v1/subjects/presentations/objects",u),publicUrl:i._.urlBuilder("/api/subjects/presentations/objects/exists",u),key:"has:curriculum:links:".concat(r.join(":"),":").concat(s.join(":")),normalizeOptions:{namespace:n},formatData:function(e){return Object.entries(e).map((function(e){var t,n,a=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,c,r,s=[],o=!0,l=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(a=c.call(n)).done)&&(s.push(a.value),s.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{if(!o&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(l)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return{id:a[0],_hasCurriculumLinks:a[1]}}))},success:a}},regionAlternatives:function(e,t,n,a){return{url:"/api/subjects/classifications/".concat(e,"/region-alternatives"),publicUrl:"/api/subjects/classifications/".concat(e,"/region-alternatives"),key:"classification:regionAlternatives:".concat(e),normalize:!1,success:t,error:n,always:a}}}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[325],{59325:function(e,t,n){var o;e.exports=(o=n(32735),function(){var e={378:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return!1;for(r=o;0!=r--;){var a=i[r];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},145:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity 0.25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,0.08) 0 2px 4px,rgba(0,0,0,0.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,0.06),0 2px 4px rgba(0,0,0,0.08);color:white;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);font-size:14px;font-family:Helvetica, Arial, sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#ffffff;content:'';display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,0.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,0.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,0.3)}.tf-v1-popover-tooltip.closing{transition:opacity 0.25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity 0.25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:-webkit-fill-available;max-height:-moz-fill-available}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:0.5rem;right:0.5rem;z-index:1;opacity:0}.tf-v1-popover-close:hover{opacity:1}.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}\n"},792:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.75);transition:opacity 0.25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity 0.25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:-34px;right:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media (max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:-webkit-fill-available;max-height:-moz-fill-available}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity 0.25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:6px;right:8px}.tf-v1-popup .tf-v1-close:hover{opacity:1}}\n"},838:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);z-index:10001;will-change:transform}.tf-v1-sidetab.ready{transition:transform 250ms ease-in-out}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:0 16px;border-radius:8px 8px 0 0;color:white;box-shadow:0 2px 4px rgba(0,0,0,0.08),0 2px 12px rgba(0,0,0,0.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica, Arial, sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media (max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:-webkit-fill-available;max-height:-moz-fill-available}.tf-v1-sidetab-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;display:block;top:6px;right:8px;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}\n"},630:function(e,t,n){"use strict";n.r(t),t.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.75);transition:opacity 0.25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{height:100%;position:absolute;top:0;transition:right 0.5s ease-in-out, left 0.5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-slider .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:4px;left:-24px}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:0.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}@media (max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:-webkit-fill-available;max-height:-moz-fill-available}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:6px;right:8px;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}\n"},684:function(e,t,n){"use strict";n.r(t),t.default=".tf-v1-widget{width:100%;height:100%;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important;width:100vw !important;height:100vh !important;max-height:-webkit-fill-available;max-height:-moz-fill-available}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;position:absolute;font-size:32px;line-height:24px;width:24px;height:24px;text-align:center;cursor:pointer;opacity:0.75;transition:opacity 0.25s ease-in-out;text-decoration:none;filter:invert(1);mix-blend-mode:difference;top:4px;right:6px;z-index:1}.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}.tf-v1-widget-fullscreen iframe{border-radius:0}\n"},281:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(11),t),r(n(739),t),r(n(860),t)},794:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InlineStyle=void 0;var r=o(n(297));t.InlineStyle=function(e){var t=e.filename,o=n(367)("./"+t+".css");return r.default.createElement("style",null,o.default)}},11:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.makeButtonComponent=void 0;var u=a(n(297)),c=n(794),d={unmount:function(){},open:function(){}};t.makeButtonComponent=function(e,t){return function(n){var r=n.id,i=n.children,a=n.as,l=void 0===a?"button":a,p=n.style,f=void 0===p?{}:p,v=n.className,m=void 0===v?"":v,h=n.buttonProps,b=s(n,["id","children","as","style","className","buttonProps"]),g=u.useRef(d);u.useEffect((function(){return g.current=e(r,b),function(){return g.current.unmount()}}),[r,b]);var y=u.useMemo((function(){return function(){return g.current.open()}}),[]),x=u.default.createElement(l,o({style:f,className:m,onClick:y,children:i},h));return u.default.createElement(u.default.Fragment,null,u.default.createElement(c.InlineStyle,{filename:t}),x)}}},739:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.makeInitializerComponent=void 0;var s=i(n(297)),u=n(794);t.makeInitializerComponent=function(e,t){return function(n){var o=n.id,r=a(n,["id"]);return s.useEffect((function(){var t=e(o,r);return function(){t.unmount()}}),[o,r]),s.default.createElement(u.InlineStyle,{filename:t})}}},860:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Widget=void 0;var u=a(n(297)),c=n(18),d=n(794);t.Widget=function(e){var t=e.id,n=e.style,r=void 0===n?{}:n,i=e.className,a=void 0===i?"":i,l=s(e,["id","style","className"]),p=u.useRef(null);return u.useEffect((function(){if(p.current){var e=c.createWidget(t,o(o({},l),{container:p.current}));return function(){e.unmount()}}}),[t,l]),u.default.createElement(u.default.Fragment,null,u.default.createElement(d.InlineStyle,{filename:"widget"}),u.default.createElement("div",{style:r,className:a,ref:p}))}},582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sidetab=t.Popover=t.SliderButton=t.PopupButton=t.Widget=void 0;var o=n(18),r=n(281),i=n(797),a=i.memoComponent(r.Widget);t.Widget=a;var s=i.memoComponent(r.makeButtonComponent(o.createPopup,"popup"));t.PopupButton=s;var u=i.memoComponent(r.makeButtonComponent(o.createSlider,"slider"));t.SliderButton=u;var c=i.memoComponent(r.makeInitializerComponent(o.createPopover,"popover"));t.Popover=c;var d=i.memoComponent(r.makeInitializerComponent(o.createSidetab,"sidetab"));t.Sidetab=d},797:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(553),t)},553:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.memoComponent=t.propsAreEqual=void 0;var r=n(297),i=o(n(378));t.propsAreEqual=function(e,t){return i.default(e,t)},t.memoComponent=function(e){return r.memo(e,t.propsAreEqual)}},18:function(e){e.exports=function(){"use strict";var e={27:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FORM_BASE_URL=t.POPUP_SIZE=t.SLIDER_WIDTH=t.SLIDER_POSITION=t.SIDETAB_ATTRIBUTE=t.WIDGET_ATTRIBUTE=t.SLIDER_ATTRIBUTE=t.POPUP_ATTRIBUTE=t.POPOVER_ATTRIBUTE=void 0,t.POPOVER_ATTRIBUTE="data-tf-popover",t.POPUP_ATTRIBUTE="data-tf-popup",t.SLIDER_ATTRIBUTE="data-tf-slider",t.WIDGET_ATTRIBUTE="data-tf-widget",t.SIDETAB_ATTRIBUTE="data-tf-sidetab",t.SLIDER_POSITION="right",t.SLIDER_WIDTH=800,t.POPUP_SIZE=100,t.FORM_BASE_URL="https://form.typeform.com"},528:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createPopover=void 0;var r=n(747),i=n(320),a=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))},s=function(e,t){void 0===e&&(e="div"),void 0===t&&(t="tf-v1-popover-button-icon");var n=document.createElement(e);return n.className=t,n.innerHTML="&times;",n.dataset.testid=t,n},u={buttonColor:"#3a7685"};t.createPopover=function(e,t){void 0===t&&(t={});var n,c,d,l,p,f,v=o(o({},u),t),m=r.createIframe(e,"popover",v),h=m.iframe,b=m.embedId,g=m.refresh,y=function(e,t){var n=document.createElement("div");return n.className="tf-v1-popover",n.dataset.testid="tf-v1-popover",r.setElementSize(n,{width:e,height:t})}(v.width,v.height),x=function(){var e=document.createElement("div");return e.className="tf-v1-popover-wrapper",e.dataset.testid="tf-v1-popover-wrapper",e}(),w=(n=v.customIcon,c=v.buttonColor||u.buttonColor,d=r.getTextColor(c),(l=document.createElement("div")).className="tf-v1-popover-button-icon",l.innerHTML=n?"<img alt='popover trigger icon button' src='"+n+"'/>":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none"\n xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5\n 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75\n 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25\n 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125\n 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+d+'"></path>\n </svg>',l.dataset.testid="default-icon",l),O=function(){var e=document.createElement("div");e.className="tf-v1-spinner";var t=document.createElement("div");return t.className="tf-v1-popover-button-icon",t.dataset.testid="spinner-icon",t.append(e),t}(),_=s(),P=s("a","tf-v1-popover-close"),j=function(e){var t=r.getTextColor(e),n=document.createElement("button");return n.className="tf-v1-popover-button",n.dataset.testid="tf-v1-popover-button",n.style.backgroundColor=e,n.style.color=t,n}(v.buttonColor||u.buttonColor);(v.container||document.body).append(y),x.append(h),y.append(j),y.append(P),j.append(w);var E=function(){p&&p.parentNode&&(p.classList.add("closing"),setTimeout((function(){r.unmountElement(p)}),250))};v.tooltip&&v.tooltip.length>0&&(p=function(e,t){var n=document.createElement("span");n.className="tf-v1-popover-tooltip-close",n.dataset.testid="tf-v1-popover-tooltip-close",n.innerHTML="&times;",n.onclick=t;var o=document.createElement("div");o.className="tf-v1-popover-tooltip-text",o.innerHTML=e;var r=document.createElement("div");return r.className="tf-v1-popover-tooltip",r.dataset.testid="tf-v1-popover-tooltip",r.appendChild(o),r.appendChild(n),r}(v.tooltip,E),y.append(p)),v.notificationDays&&(v.enableSandbox||i.canBuildNotificationDot(e))&&(f=i.buildNotificationDot(),j.append(f)),h.onload=function(){y.classList.add("open"),x.style.opacity="1",P.style.opacity="1",a(O,_),r.addCustomKeyboardListener(I)};var C=function(){r.isOpen(x)||(E(),f&&(f.classList.add("closing"),v.notificationDays&&!v.enableSandbox&&i.saveNotificationDotHideUntilTime(e,v.notificationDays),setTimeout((function(){r.unmountElement(f)}),250)),setTimeout((function(){r.isInPage(x)?(x.style.opacity="0",P.style.opacity="0",x.style.display="flex",setTimeout((function(){y.classList.add("open"),x.style.opacity="1",P.style.opacity="1"})),a(w,_)):(y.append(x),a(w,O),x.style.opacity="0",P.style.opacity="0")})))},I=function(){var e;r.isOpen(y)&&(null===(e=t.onClose)||void 0===e||e.call(t),setTimeout((function(){v.keepSession?x.style.display="none":r.unmountElement(x),y.classList.remove("open"),a(_,w)}),250))};r.setAutoClose(b,v.autoClose,I);var S=function(){r.isOpen(x)?I():C()};return j.onclick=S,P.onclick=I,v.open&&!r.isOpen(x)&&r.handleCustomOpen(C,v.open,v.openValue),{open:C,close:I,toggle:S,refresh:g,unmount:function(){r.unmountElement(y)}}}},797:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(528),t),r(n(100),t)},320:function(e,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildNotificationDot=t.canBuildNotificationDot=t.saveNotificationDotHideUntilTime=void 0;var o="tfNotificationData",r=function(){var e=localStorage.getItem(o);return e?JSON.parse(e):{}},i=function(e){e&&localStorage.setItem(o,JSON.stringify(e))};t.saveNotificationDotHideUntilTime=function(e,t){var o,a=new Date;a.setDate(a.getDate()+t),i(n(n({},r()),((o={})[e]={hideUntilTime:a.getTime()},o)))},t.canBuildNotificationDot=function(e){var t=function(e){var t;return(null===(t=r()[e])||void 0===t?void 0:t.hideUntilTime)||0}(e);return(new Date).getTime()>t&&(t&&function(e){var t=r();delete t[e],i(t)}(e),!0)},t.buildNotificationDot=function(){var e=document.createElement("span");return e.className="tf-v1-popover-unread-dot",e.dataset.testid="tf-v1-popover-unread-dot",e}},100:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},630:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createPopup=void 0;var r=n(747),i=n(27),a=n(747);t.createPopup=function(e,t){if(void 0===t&&(t={}),!r.hasDom())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},unmount:function(){}};var n=t.width,s=t.height,u=t.size,c=void 0===u?i.POPUP_SIZE:u,d=t.onClose,l=o(t,["width","height","size","onClose"]),p=r.createIframe(e,"popup",l),f=p.iframe,v=p.embedId,m=p.refresh,h=document.body.style.overflow,b=function(){var e=document.createElement("div");return e.className="tf-v1-popup",e.style.opacity="0",e}(),g=function(){var e=document.createElement("div");return e.className="tf-v1-spinner",e}(),y=function(e,t,n){var o=document.createElement("div");return o.className="tf-v1-iframe-wrapper",o.style.opacity="0",r.isDefined(e)&&r.isDefined(t)?r.setElementSize(o,{width:e,height:t}):(o.style.width="calc("+n+"% - 80px)",o.style.height="calc("+n+"% - 80px)",o)}(n,s,c);y.append(f),b.append(g),b.append(y);var x=l.container||document.body;f.onload=function(){y.style.opacity="1",setTimeout((function(){g.style.display="none"}),250),r.addCustomKeyboardListener(O)};var w=function(){a.isOpen(b)||(a.isInPage(b)?b.style.display="flex":(g.style.display="block",x.append(b)),document.body.style.overflow="hidden",setTimeout((function(){b.style.opacity="1"})))},O=function(){a.isOpen(b)&&(null==d||d(),b.style.opacity="0",document.body.style.overflow=h,setTimeout((function(){l.keepSession?b.style.display="none":_()}),250))};y.append(function(e){var t=document.createElement("a");return t.className="tf-v1-close",t.innerHTML="&times;",t.onclick=e,t}(O)),r.setAutoClose(v,l.autoClose,O);var _=function(){r.unmountElement(b)};return l.open&&!a.isOpen(b)&&r.handleCustomOpen(w,l.open,l.openValue),{open:w,close:O,toggle:function(){a.isOpen(b)?O():w()},refresh:m,unmount:_}}},970:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(630),t),r(n(394),t)},394:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},382:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createSidetab=void 0;var r=n(747),i={buttonColor:"#3a7685",buttonText:"Launch me"},a=function(e,t){void 0===e&&(e="div"),void 0===t&&(t="tf-v1-sidetab-button-icon");var n=document.createElement(e);return n.className=t,n.innerHTML="&times;",n.dataset.testid=t,n},s=function(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))};t.createSidetab=function(e,t){void 0===t&&(t={});var n,u,c,d,l,p,f,v=o(o({},i),t),m=r.createIframe(e,"side-tab",v),h=m.iframe,b=m.embedId,g=m.refresh,y=(n=v.width,u=v.height,(c=document.createElement("div")).className="tf-v1-sidetab",c.dataset.testid="tf-v1-sidetab",r.setElementSize(c,{width:n,height:u})),x=function(){var e=document.createElement("div");return e.className="tf-v1-sidetab-wrapper",e.dataset.testid="tf-v1-sidetab-wrapper",e}(),w=function(){var e=document.createElement("div");e.className="tf-v1-spinner";var t=document.createElement("div");return t.className="tf-v1-sidetab-button-icon",t.dataset.testid="spinner-icon",t.append(e),t}(),O=function(e){var t=r.getTextColor(e),n=document.createElement("button");return n.className="tf-v1-sidetab-button",n.style.backgroundColor=e,n.style.color=t,n}(v.buttonColor||i.buttonColor),_=function(e){var t=document.createElement("span");return t.className="tf-v1-sidetab-button-text",t.innerHTML=e,t}(v.buttonText||i.buttonText),P=(d=v.customIcon,l=v.buttonColor||i.buttonColor,p=r.getTextColor(l),(f=document.createElement("div")).className="tf-v1-sidetab-button-icon",f.innerHTML=d?"<img alt='sidetab trigger icon button' src='"+d+'\' style="max-width: 100%; max-height: 100%" />':'<svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+p+'"></path>\n</svg>',f.dataset.testid="default-icon",f),j=a(),E=a("a","tf-v1-sidetab-close");(v.container||document.body).append(y),x.append(h),y.append(O),y.append(E),O.append(P),O.append(_),setTimeout((function(){y.classList.add("ready")}),250),h.onload=function(){y.classList.add("open"),s(w,j),r.addCustomKeyboardListener(I)};var C=function(){r.isOpen(x)||(r.isInPage(x)?(x.style.display="flex",y.classList.add("open"),s(P,j)):(y.append(x),s(P,w)))},I=function(){var e;r.isOpen(x)&&(null===(e=v.onClose)||void 0===e||e.call(v),y.classList.remove("open"),setTimeout((function(){v.keepSession?x.style.display="none":r.unmountElement(x),s(j,P)}),250))};r.setAutoClose(b,v.autoClose,I);var S=function(){r.isOpen(x)?I():C()};return O.onclick=S,E.onclick=I,v.open&&!r.isOpen(x)&&r.handleCustomOpen(C,v.open,v.openValue),{open:C,close:I,toggle:S,refresh:g,unmount:function(){r.unmountElement(y)}}}},434:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(382),t),r(n(668),t)},668:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},603:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createSlider=void 0;var r=n(747),i=n(27);t.createSlider=function(e,t){if(void 0===t&&(t={}),!r.hasDom())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},unmount:function(){}};var n=t.position,a=void 0===n?i.SLIDER_POSITION:n,s=t.width,u=void 0===s?i.SLIDER_WIDTH:s,c=t.onClose,d=o(t,["position","width","onClose"]),l=r.createIframe(e,"slider",d),p=l.iframe,f=l.embedId,v=l.refresh,m=document.body.style.overflow,h=function(e){var t=document.createElement("div");return t.className="tf-v1-slider "+e,t.style.opacity="0",t}(a),b=function(){var e=document.createElement("div");return e.className="tf-v1-spinner",e}(),g=function(e,t){var n=document.createElement("div");return n.className="tf-v1-iframe-wrapper",n.style[e]="-100%",r.setElementSize(n,{width:t})}(a,u);g.append(p),h.append(b),h.append(g);var y=d.container||document.body;p.onload=function(){g.style[a]="0",setTimeout((function(){b.style.display="none"}),500),r.addCustomKeyboardListener(w)};var x=function(){r.isOpen(h)||(r.isInPage(h)?(h.style.display="flex",setTimeout((function(){g.style[a]="0"}))):(y.append(h),b.style.display="block"),document.body.style.overflow="hidden",setTimeout((function(){h.style.opacity="1"})))},w=function(){r.isOpen(h)&&(null==c||c(),h.style.opacity="0",g.style[a]="-100%",document.body.style.overflow=m,setTimeout((function(){d.keepSession?h.style.display="none":O()}),500))};r.setAutoClose(f,d.autoClose,w);var O=function(){r.unmountElement(h)};return g.append(function(e){var t=document.createElement("a");return t.className="tf-v1-close",t.innerHTML="&times;",t.onclick=e,t}(w)),d.open&&!r.isOpen(h)&&r.handleCustomOpen(x,d.open,d.openValue),{open:x,close:w,toggle:function(){r.isOpen(h)?w():x()},refresh:v,unmount:O}}},331:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(603),t),r(n(162),t)},162:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},718:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createWidget=void 0;var o=n(747),r=n(554),i=n(313);t.createWidget=function(e,t){if(!o.hasDom())return{refresh:function(){},unmount:function(){}};var n=t;t.inlineOnMobile||!t.forceTouch&&!o.isFullscreen()||(n.enableFullscreen=!0,n.forceTouch=!0);var a,s=o.createIframe(e,"widget",n),u=s.embedId,c=s.iframe,d=s.refresh,l=i.buildWidget(c,t.width,t.height),p=function(){return t.container.append(l)};if(t.container.innerHTML="",t.lazy?o.lazyInitialize(t.container,p):p(),n.enableFullscreen){var f=t.container;window.addEventListener("message",r.getWelcomeScreenHiddenHandler(u,f));var v=((a=document.createElement("a")).className="tf-v1-widget-close",a.innerHTML="&times;",a);v.onclick=function(){var e;if(null===(e=t.onClose)||void 0===e||e.call(t),f.classList.remove("tf-v1-widget-fullscreen"),t.keepSession){var n=document.createElement("div");n.className="tf-v1-widget-iframe-overlay",n.onclick=function(){f.classList.add("tf-v1-widget-fullscreen"),o.unmountElement(n)},l.append(n)}else t.container.innerHTML="",p(),f.append(v)},f.append(v)}return{refresh:d,unmount:function(){return o.unmountElement(l)}}}},419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildWidget=void 0;var o=n(747);t.buildWidget=function(e,t,n){var r=document.createElement("div");return r.className="tf-v1-widget",r.append(e),o.setElementSize(r,{width:t,height:n})}},313:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(419),t)},321:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(718),t),r(n(58),t)},58:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},920:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(797),t),r(n(970),t),r(n(331),t),r(n(321),t),r(n(434),t)},626:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildIframeSrc=void 0;var r=n(27),i=n(527),a=n(346),s=n(698),u={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};t.buildIframeSrc=function(e){var t=e.formId,n=e.type,c=e.embedId,d=e.options,l=function(e,t,n){var r=n.transitiveSearchParams,i=n.source,a=n.medium,c=n.mediumVersion,d=n.hideFooter,l=n.hideHeaders,p=n.opacity,f=n.disableTracking,v=n.enableSandbox,m=n.disableAutoFocus,h=n.shareGaInstance,b=n.forceTouch,g=n.enableFullscreen,y=n.tracking,x=s.getTransitiveSearchParams(r);return o(o(o({},{"typeform-embed-id":t,"typeform-embed":u[e],"typeform-source":i,"typeform-medium":a,"typeform-medium-version":c,"embed-hide-footer":d?"true":void 0,"embed-hide-headers":l?"true":void 0,"embed-opacity":p,"disable-tracking":f||v?"true":void 0,"disable-auto-focus":m?"true":void 0,"__dangerous-disable-submissions":v?"true":void 0,"share-ga-instance":h?"true":void 0,"force-touch":b?"true":void 0,"add-placeholder-ws":"widget"===e&&g?"true":void 0}),x),y)}(n,c,function(e){return o(o({},{source:null===(t=null===window||void 0===window?void 0:window.location)||void 0===t?void 0:t.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),i.removeUndefinedKeys(e));var t}(d)),p=function(e,t){void 0===t&&(t=!1);var n=t?"c":"to";return new URL(r.FORM_BASE_URL+"/"+n+"/"+e)}(t,d.chat);if(Object.entries(l).filter((function(e){var t=e[1];return a.isDefined(t)})).forEach((function(e){var t=e[0],n=e[1];p.searchParams.set(t,n)})),d.hidden){var f=new URL(r.FORM_BASE_URL);Object.entries(d.hidden).filter((function(e){var t=e[1];return a.isDefined(t)})).forEach((function(e){var t=e[0],n=e[1];f.searchParams.set(t,n)}));var v=f.searchParams.toString();v&&(p.hash=v)}return p.href}},972:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomOpen=void 0,t.handleCustomOpen=function(e,t,n){switch(t){case"load":e();break;case"exit":n&&function(e,t){var n=0,o=function(r){r.clientY<e&&r.clientY<n?(document.removeEventListener("mousemove",o),t()):n=r.clientY};document.addEventListener("mousemove",o)}(n,e);break;case"time":setTimeout((function(){e()}),n);break;case"scroll":n&&function(e,t){var n=function(){var o=window.pageYOffset||document.documentElement.scrollTop,r=document.documentElement.clientTop||0,i=document.documentElement.scrollHeight,a=o-r,s=a/i*100,u=a+window.innerHeight>=i;(s>=e||u)&&(t(),document.removeEventListener("scroll",n))};document.addEventListener("scroll",n)}(n,e)}}},553:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createIframe=void 0;var o=n(626),r=n(747),i=n(866),a=n(554),s=n(256),u=n(144),c=n(511);t.createIframe=function(e,t,n){var d=i.generateEmbedId(),l=n.iframeProps,p=void 0===l?{}:l,f=n.onReady,v=n.onQuestionChanged,m=n.onSubmit,h=n.shareGaInstance,b=o.buildIframeSrc({formId:e,embedId:d,type:t,options:n}),g=document.createElement("iframe");return g.src=b,g.dataset.testid="iframe",g.style.border="0px",g.allow="microphone; camera",Object.keys(p).forEach((function(e){g.setAttribute(e,p[e])})),g.addEventListener("load",s.triggerIframeRedraw,{once:!0}),window.addEventListener("message",a.getFormReadyHandler(d,f)),window.addEventListener("message",a.getFormQuestionChangedHandler(d,v)),window.addEventListener("message",a.getFormSubmitHandler(d,m)),"widget"!==t&&window.addEventListener("message",u.dispatchCustomKeyEventFromIframe),h&&window.addEventListener("message",a.getFormReadyHandler(d,(function(){r.setupGaInstance(g,d,h)}))),{iframe:g,embedId:d,refresh:function(){return c.refreshIframe(g)}}}},866:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.generateEmbedId=void 0,t.generateEmbedId=function(){var e=Math.random();return String(e).split(".")[1]}},554:function(e,t){var n=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function o(e,t,o){return function(r){var i=r.data,a=i.type,s=i.embedId,u=n(i,["type","embedId"]);a===e&&s===t&&(null==o||o(u))}}Object.defineProperty(t,"__esModule",{value:!0}),t.getFormEventHandler=t.getWelcomeScreenHiddenHandler=t.getFormSubmitHandler=t.getFormQuestionChangedHandler=t.getFormReadyHandler=void 0,t.getFormReadyHandler=function(e,t){return o("form-ready",e,t)},t.getFormQuestionChangedHandler=function(e,t){return o("form-screen-changed",e,t)},t.getFormSubmitHandler=function(e,t){return o("form-submit",e,t)},t.getWelcomeScreenHiddenHandler=function(e,t){return o("welcome-screen-hidden",e,(function(){t.classList.add("tf-v1-widget-fullscreen")}))},t.getFormEventHandler=o},339:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(553),t),r(n(144),t)},511:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.refreshIframe=void 0,t.refreshIframe=function(e){if(e){var t=e.src;if(t.includes("&refresh")){var n=t.split("&refresh#");e.src=n.join("#")}else(n=t.split("#"))[0]=n[0]+"&refresh",e.src=n.join("#")}}},144:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{u(o.next(e))}catch(e){i(e)}}function s(e){try{u(o.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((o=o.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchCustomKeyEventFromIframe=t.removeCustomKeyboardListener=t.addCustomKeyboardListener=void 0;var r="Escape",i=function(e,i){return n(void 0,void 0,void 0,(function(){return o(this,(function(n){return e.code===r&&"function"==typeof i&&(i(),t.removeCustomKeyboardListener()),[2]}))}))};t.addCustomKeyboardListener=function(e){return window.document.addEventListener("keydown",(function(t){return i(t,e)}))},t.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",i)},t.dispatchCustomKeyEventFromIframe=function(e){"form-close"===e.data.type&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:r}))}},256:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.triggerIframeRedraw=void 0,t.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},939:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTextColor=void 0;var o=n(938);t.getTextColor=function(e){if(!e)return"#FFFFFF";var t=e.startsWith("#")?o.hexRgb(e):function(e){var t={red:0,green:0,blue:0},n=e.match(/\d+/g);return n&&(t.red=parseInt(n[0],10),t.green=parseInt(n[0],10),t.blue=parseInt(n[0],10)),t}(e),n=t.red,r=t.green,i=t.blue;return Math.round((299*n+587*r+114*i)/1e3)>125?"#000000":"#FFFFFF"}},698:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitiveSearchParams=void 0,t.getTransitiveSearchParams=function(e){var t=new URL(window.location.href),n={};return e&&e.length>0&&e.forEach((function(e){t.searchParams.has(e)&&(n[e]=t.searchParams.get(e))})),n}},252:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasDom=void 0,t.hasDom=function(){return"undefined"!=typeof document&&"undefined"!=typeof window}},938:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hexRgb=void 0;var n=new RegExp("[^#a-f\\d]","gi"),o=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i");t.hexRgb=function(e){if("string"!=typeof e||n.test(e)||!o.test(e))throw new TypeError("Expected a valid hex string");8===(e=e.replace(/^#/,"")).length&&(e=e.slice(0,6)),4===e.length&&(e=e.slice(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=Number.parseInt(e,16);return{red:t>>16,green:t>>8&255,blue:255&t}}},71:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.includeCss=void 0,t.includeCss=function(e){var t=function(e){return"https://embed.typeform.com/next/css/"+e}(e);if(!document.querySelector('link[href="'+t+'"]')){var n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.append(n)}}},747:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(626),t),r(n(339),t),r(n(252),t),r(n(71),t),r(n(346),t),r(n(377),t),r(n(563),t),r(n(527),t),r(n(533),t),r(n(451),t),r(n(972),t),r(n(748),t),r(n(392),t),r(n(939),t),r(n(917),t),r(n(987),t)},346:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=void 0,t.isDefined=function(e){return null!=e}},987:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=t.isInPage=t.isOpen=void 0,t.isOpen=function(e){return t.isInPage(e)&&t.isVisible(e)},t.isInPage=function(e){return!!e.parentNode},t.isVisible=function(e){return"none"!==e.style.display}},917:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInitialize=void 0,t.lazyInitialize=function(e,t){var n=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(t(),n.unobserve(e.target))}))}));n.observe(e)}},377:function(e,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.loadOptionsFromAttributes=t.transformAttributeValue=t.camelCaseToKebabCase=void 0,t.camelCaseToKebabCase=function(e){return e.split("").map((function(e,t){return e.toUpperCase()===e?(0!==t?"-":"")+e.toLowerCase():e})).join("")};var o=function(e){return e||void 0},r=function(e){return""===e||"yes"===e||"true"===e},i=function(e){var t=e?parseInt(e,10):NaN;return isNaN(t)?void 0:t},a="%ESCAPED_COMMA%";t.transformAttributeValue=function(e,t){var s,u;switch(t){case"string":return o(e);case"boolean":return r(e);case"integer":return i(e);case"function":return function(e){var t=e&&e in window?window[e]:void 0;return"function"==typeof t?t:void 0}(e);case"array":return function(e){if(e)return e.replace(/\s/g,"").replace(/\\,/g,a).split(",").filter((function(e){return!!e})).map((function(e){return e.replace(a,",")}))}(e);case"record":return function(e){if(e)return e.replace(/\\,/g,a).split(",").filter((function(e){return!!e})).map((function(e){return e.replace(a,",")})).reduce((function(e,t){var o,r=t.match(/^([^=]+)=(.*)$/);if(r){var i=r[1],a=r[2];return n(n({},e),((o={})[i.trim()]=a,o))}return e}),{})}(e);case"integerOrBoolean":return null!==(s=i(e))&&void 0!==s?s:r(e);case"stringOrBoolean":return null!==(u=o(e))&&void 0!==u?u:r(e);default:throw new Error("Invalid attribute transformation "+t)}},t.loadOptionsFromAttributes=function(e,o){return Object.keys(o).reduce((function(r,i){var a;return n(n({},r),((a={})[i]=t.transformAttributeValue(e.getAttribute("data-tf-"+t.camelCaseToKebabCase(i)),o[i]),a))}),{})}},563:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=t.isMobile=t.isBigScreen=void 0,t.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},t.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},t.isFullscreen=function(){return t.isMobile()&&!t.isBigScreen()}},527:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedKeys=void 0;var r=n(346);t.removeUndefinedKeys=function(e){return Object.entries(e).filter((function(e){var t=e[1];return r.isDefined(t)})).reduce((function(e,t){var n,r=t[0],i=t[1];return o(o({},e),((n={})[r]=i,n))}),{})}},748:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setAutoClose=void 0;var o=n(554);t.setAutoClose=function(e,t,n){if(t&&n){var r="number"==typeof t?t:0;window.addEventListener("message",o.getFormSubmitHandler(e,(function(){return setTimeout(n,r)})))}}},533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setElementSize=void 0,t.setElementSize=function(e,t){var n=t.width,o=t.height;return n&&(e.style.width=n+"px"),o&&(e.style.height=o+"px"),e}},392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setupGaInstance=t.sendGaIdMessage=void 0,t.sendGaIdMessage=function(e,t,n){var o={embedId:e,gaClientId:t};setTimeout((function(){n&&n.contentWindow&&n.contentWindow.postMessage({type:"ga-client-id",data:o},"*")}),0)};var n=function(e){console.error(e)};t.setupGaInstance=function(e,o,r){try{var i=window[window.GoogleAnalyticsObject],a="string"==typeof r?r:void 0,s=function(e,t){return t?e.find((function(e){return e.get("trackingId")===t})):e[0]}(i.getAll(),a);s?t.sendGaIdMessage(o,s.get("clientId"),e):n("Whoops! You enabled the shareGaInstance feature in your typeform embed but the tracker with ID "+a+" was not found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID. ")}catch(e){n("Whoops! You enabled the shareGaInstance feature in your typeform embed but the Google Analytics object has not been found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page. "),n(e)}}},451:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.unmountElement=void 0,t.unmountElement=function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}},t={};return function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}(920)}()},367:function(e,t,n){var o={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=367},297:function(e){"use strict";e.exports=o}},t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}return n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(582)}())}}]);