1(this["webpackJsonpmedsii-webapp"]=this["webpackJsonpmedsii-webapp"]||[]).push([[39],{526:function(e,t,r){"use strict";var a=r(4),c=r(19),i=r(13),n=r(0),s=r(21),l=r(247),o=r(248),u=r(249),d=r(153),j=r(436),b=r(18),h=(r(22),r(1));t.a=function(){Object(s.e)();var e=Object(n.useState)(!1),t=Object(i.a)(e,2),r=t[0],O=t[1],v=Object(s.f)((function(e){return e.gaia})).shareChatObj;Object(n.useEffect)((function(){v&&p()}),[v]);var f=function(){var e=Object(c.a)(Object(a.a)().mark((function e(){var t;return Object(a.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O(!1),t=null===v||void 0===v?void 0:v.url,e.prev=2,e.next=5,navigator.clipboard.writeText(t);case 5:e.next=9;break;case 7:e.prev=7,e.t0=e.catch(2);case 9:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(){return e.apply(this,arguments)}}(),p=function(){b.isMobileOnly&&navigator.share?navigator.share({title:"GAIA Chat",text:"",url:null===v||void 0===v?void 0:v.url}).then((function(){return console.log("Successful share")})).catch((function(e){return console.log("Error sharing",e)})):O(!0)};return Object(h.jsxs)(l.a,{open:r,onClose:f,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[Object(h.jsxs)(o.a,{id:"alert-dialog-title",children:[Object(h.jsx)("h4",{children:"Share"}),Object(h.jsxs)("div",{className:"desktopShareList",children:[Object(h.jsx)(j.d,{url:null===v||void 0===v?void 0:v.url,quote:"GAIA Chat",className:"share-button",children:Object(h.jsx)(j.c,{size:32,round:!0})}),Object(h.jsx)(j.g,{url:null===v||void 0===v?void 0:v.url,title:"GAIA Chat",className:"share-button",children:Object(h.jsx)(j.j,{size:32,round:!0})}),Object(h.jsx)(j.i,{url:null===v||void 0===v?void 0:v.url,title:"GAIA Chat",separator:":: ",className:"share-button",children:Object(h.jsx)(j.h,{size:32,round:!0})}),Object(h.jsx)(j.f,{url:null===v||void 0===v?void 0:v.url,className:"share-button",children:Object(h.jsx)(j.e,{size:32,round:!0})}),Object(h.jsx)(j.b,{url:null===v||void 0===v?void 0:v.url,subject:"GAIA Chat",body:"body",className:"share-button",children:Object(h.jsx)(j.a,{size:32,round:!0})})]}),Object(h.jsx)("p",{className:"mt-4 mb-0",children:null===v||void 0===v?void 0:v.url})]}),Object(h.jsx)(u.a,{children:Object(h.jsx)(d.a,{onClick:f,color:"primary",autoFocus:!0,children:"Copy"})})]})}},663:function(e,t,r){"use strict";r.r(t);var a=r(0),c=r.n(a),i=r(21),n=r(226),s=r(526),l=r(22),o=r(1),u=function(){var e=Object(i.e)(),t=Object(i.f)((function(e){return e.gaia.gaiaAllowed}),i.d);return Object(a.useEffect)((function(){t&&e(Object(l.q)())}),[t,e]),Object(o.jsxs)("div",{className:"previousList",children:[Object(o.jsx)(n.a,{}),Object(o.jsx)(s.a,{})]})};t.default=c.a.memo(u)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.