1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4703],{23605:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>k});var r=t(64191),a=t(64083),c=t(63857),s=t(60180),i=t.n(s),o=t(14232),u=t(45105),d=t.n(u),f=t(26900),p=t(5646),l=t(90316),h=p.Ay.div.withConfig({componentId:"sc-1otsqnk-0"})(function(){return(0,p.AH)(["display:flex;width:100%;justify-content:center;"])}),m=(0,p.Ay)(l.A).withConfig({componentId:"sc-1otsqnk-1"})(function(e){var n=e.theme;return(0,p.AH)(["margin:"," auto 0 auto;width:",";@media (max-width:","){width:",";}"],n.sz.s40,n.sz.s40,n.sz.xl,n.sz.s12)}),w=p.Ay.a.withConfig({componentId:"sc-1otsqnk-2"})(function(){return(0,p.AH)(["display:none;"])}),y=t(37876);function x(e){var n=e.appId,t=e.dest,r=(0,o.useState)(!1),a=r[0],s=r[1],u=(0,o.useRef)(null);return(0,o.useEffect)(function(){if(a){var e;(e=(0,c.A)(i().mark(function e(){var r,a,c,s,o,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/canny-user-hash",{credentials:"same-origin"});case 3:if((c=e.sent).ok){e.next=8;break}return s=encodeURIComponent("/canny-feedback/redirect?dest=".concat(encodeURIComponent(t))),window.location.href="/signin?next=".concat(s),e.abrupt("return");case 8:return e.next=10,c.json();case 10:return o=e.sent.userHash,e.next=14,f.fR.me();case 14:d=e.sent.profile,null==(r=(a=window).Canny)||r.call(a,"identify",{appID:n,user:{id:String(d.id),email:d.email,name:d.username,created:new Date(d.date_joined).toISOString(),customFields:{plan:d.is_pro?"pro":"free",timezone:d.timezone}},userHash:o}),setTimeout(function(){var e;null==(e=u.current)||e.click()},1e3),e.next=24;break;case 20:e.prev=20,e.t0=e.catch(0),p=encodeURIComponent("/canny-feedback/redirect?dest=".concat(encodeURIComponent(t))),window.location.href="/signin?next=".concat(p);case 24:case"end":return e.stop()}},e,null,[[0,20]])})),function(){return e.apply(this,arguments)})()}},[n,t,a]),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d(),{src:"https://canny.io/sdk.js",strategy:"afterInteractive",onLoad:function(){return s(!0)}}),(0,y.jsx)(h,{children:(0,y.jsx)(m,{})}),(0,y.jsx)(w,{"data-canny-link":!0,href:t,ref:u,children:"Give feedback"})]})}let k=function(){var e=(0,a.A)("dest")||"",n=!function(e){try{var n=new URL(e).hostname.toLowerCase();return"canny.io"===n||n.endsWith(".canny.io")}catch(e){return!1}}(e)?"https://memrise.canny.io/feature-requests":e;return(0,y.jsx)(r.co,{children:(0,y.jsx)(x,{appId:"68f7b2c0c9fb474d179bfe24",dest:n})})}},28615:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/canny-feedback",function(){return t(23605)}])},45105:(e,n,t)=>{e.exports=t(70432)}},e=>{e.O(0,[6593,636,8792],()=>e(e.s=28615)),_N_E=e.O()}]); 2//# sourceMappingURL=canny-feedback-eab56959789bceef.js.map
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.