1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[20309],{40150:(e,t,r)=>{"use strict";r.d(t,{J:()=>c,f:()=>s});var n=r(87946),o=r.n(n),a=r(20708),u=r(63600),i=r(78674);function s(e){return t=>{const r=null!==e&&void 0!==e?e:(new Date).getFullYear();return t({type:i.kHz,year:r}),a.Ay.get(u.XkH(),{params:{year:e}}).then((e=>t({type:i.UZA,year:r,count:o()(e,"data.number_of_books_read",0)}))).catch((e=>t({type:i.XN4,year:r,error:e})))}}function c({year:e}){return{type:i.CJB,year:e}}},6405:(e,t,r)=>{"use strict";r.d(t,{MO:()=>p,dQ:()=>h,fz:()=>y});var n=r(18971),o=r(64714),a=r(86791),u=r.n(a),i=r(20708),s=r(63600),c=r(78674),l=r(11501);function d(e,t){return{type:c.t_D,books:e,params:t}}function f(e){return{type:c.c1s,books:e}}function p(e,t){const r=t?{Authorization:`Token ${t}`}:{};return t=>{t({type:c.RY6});const n={search:e.search?encodeURIComponent(e.search):void 0,limit:e.limit,offset:e.offset};return(0,i.Ay)({method:"GET",url:s.OVh(),params:n,headers:r}).then((r=>{var n;if(u()(null===(n=r.data)||void 0===n?void 0:n.results)&&e.search)return t(d(r.data,e)),function(e,t){return(0,i.Ay)({url:s.Xmb(e.search),method:"GET"}).then((async e=>t(f(e.data)))).catch((()=>t(f([]))))}({search:e.search},t);t(d(r.data,e))}))}}function y(e){return t=>(0,i.Ay)({url:s.fCT(e.bookId),method:"POST",data:{email:e.email}}).then((e=>{const r=null!==e.data.member_id;t((0,n.g6)(r?l.pEr:l.kll))})).catch((e=>{t((0,n.ZH)((0,o.vG)(e,l.MZl)))}))}function h(e,t){return()=>(0,i.Ay)({url:s.xDl(e),method:"POST",data:{page_location:t,source_type:"WEB"}}).catch((()=>{}))}},59722:(e,t,r)=>{"use strict";r.d(t,{B$:()=>_,CZ:()=>m,NI:()=>b,OI:()=>v,aV:()=>A,as:()=>E,il:()=>D,j4:()=>d,jg:()=>k,sP:()=>g,tw:()=>f});var n=r(26658),o=r(80150),a=r(64714),u=r(20708),i=r(63600),s=r(78674),c=r(50663),l=r(11501);function d(e,t=c.md.ORDER_BY_DATE_ADDED,r,n){const o=r?{Authorization:`Token ${r}`}:{};return(r,a)=>{var l,d;const f=null!==n&&void 0!==n&&n.page||0===(null===n||void 0===n?void 0:n.page)?n.page:(null===(l=a())||void 0===l||null===(d=l.bookInspirations)||void 0===d?void 0:d.pageNumber)||0;return r(function(e){return{type:s.jXU,clubId:e}}(e)),u.Ay.get(i.ale(e),{headers:o,params:{limit:(null===n||void 0===n?void 0:n.limit)||c.oo,offset:f?f*c.oo:0,ordering:t,search:(null===n||void 0===n?void 0:n.keyword)||""}}).then((t=>{var n,o;const a=(null===(n=t.data)||void 0===n?void 0:n.count)||0;r(function(e,t,r,n){return{type:s.ZAS,count:r||0,totalPage:r%c.oo>0?Math.floor(r/c.oo)+1:Math.floor(r/c.oo),pageNumber:t||0,clubId:e,books:n}}(e,f,a,(null===(o=t.data)||void 0===o?void 0:o.results)||[]))}))}}function f(e,t,r,o){const f=o?{Authorization:`Token ${o}`}:{};return o=>(o(function(e){return{type:s.J29,bookId:e}}(t)),u.Ay.delete(i.B8N(e,t),{headers:f}).then((()=>{o(d(e,(null===r||void 0===r?void 0:r.orderType)||c.md.ORDER_BY_DATE_ADDED,"",{page:(null===r||void 0===r?void 0:r.pageNumber)||0,limit:(null===r||void 0===r?void 0:r.limit)||c.oo,keyword:(null===r||void 0===r?void 0:r.keyword)||""}))})).catch((e=>{o(function(e){return{type:s.ycl,bookId:e,error:"Error deleting this book. Please try again later."}}(t)),o(n.ZH((0,a.vG)(e,l.Wv6)))})))}function p(){return{type:s.uoJ}}function y(e){return{type:s.bNA,messageError:e}}function h(){return{type:s.Sgf}}function v(e,t,r=c.md.ORDER_BY_DATE_ADDED,n,s,f){const v=n?{Authorization:`Token ${n}`}:{};return n=>(n(h()),(0,u.Ay)({url:i.ale(e),method:"POST",data:t,headers:v}).then((t=>{null===f||void 0===f||f(t),n(p()),n(d(e,r,"",s))})).catch((e=>{n((0,o.ZH)((0,a.vG)(e,l.x$s))),n(y((0,a.vG)(e,l.x$s)))})))}function m({clubId:e,data:t,ordering:r,token:n,params:o,onSuccess:a}){return v(e,t,r,n,o,a)}function _(e,t,r,n=c.md.ORDER_BY_DATE_ADDED,o){return s=>(s(h()),(0,u.Ay)({url:i.B8N(e,t),method:"PATCH",data:r}).then((()=>{s(p()),s(d(e,n,"",o))})).catch((e=>{s(y((0,a.vG)(e,l._WH)))})))}function b(e,t){return(r,n)=>{const c=n().auth.userInfo;return r({type:s.lhk,clubId:e,bookId:t,currentUser:{id:c.id,name:c.name,email:c.email}}),u.Ay.post(i.s_Y(e,t)).then((()=>{r({type:s.LdE,clubId:e,bookId:t})})).catch((n=>{r({type:s.Wef,clubId:e,bookId:t}),r((0,o.ZH)((0,a.vG)(n,l.yov)))}))}}function g(e,t){return(r,n)=>{const c=n().auth.userInfo;return r({type:s.ydh,clubId:e,bookId:t,currentUserId:c.id}),u.Ay.delete(i.s_Y(e,t)).then((()=>{r({type:s.W_S,clubId:e,bookId:t})})).catch((n=>{r({type:s.LZr,clubId:e,bookId:t,currentUser:{id:c.id,name:c.name,email:c.email}}),r((0,o.ZH)((0,a.vG)(n,l.pu8)))}))}}function A(e,t,r=0){return n=>(n({type:s.g1d,bookId:t}),u.Ay.get(i.tzT(e,t),{params:{limit:10,offset:r}}).then((e=>{var r,o;n({type:s.Aad,bookId:t,likesMembers:(null===(r=e.data)||void 0===r?void 0:r.results)||[],likesCount:(null===(o=e.data)||void 0===o?void 0:o.count)||0})})).catch((e=>{n({type:s.v_q,bookId:t}),n((0,o.ZH)((0,a.vG)(e,l.yov)))})))}function k(){return{type:s.XvR}}function D(e){return{type:s.Hn3,book:e}}function E(){return{type:s.L6P}}},40049:(e,t,r)=>{"use strict";r.d(t,{f4:()=>f,l8:()=>l,vV:()=>d});var n=r(20114),o=r(18971),a=r(64714),u=r(20708),i=r(63600),s=r(78674),c=r(11501);function l(e,{year:t,isNewYear:r}){const n=r?s.vHA:s.DaP;return r=>(r({type:s.Jew}),u.Ay.get(i.kGV(e),{params:{year:t}}).then((e=>r({type:n,data:e.data}))).catch((()=>r({type:n}))))}function d(e,t,r){return d=>(d({type:s.giT,isUpdating:!0}
1),u.Ay.post(i.kGV(e),{...t,number_books_read:Number(t.number_books_read)||0,number_book_club_meetings_attended:Number(t.number_book_club_meetings_attended)||0}).then((()=>(d((0,n.Xx)({email_my_intentions_information:r})),d(l(e,{year:t.year,isNewYear:!0})),d({type:s.giT,isUpdating:!1})))).catch((e=>(d((0,o.ZH)((0,a.vG)(e,c.MZl))),d({type:s.giT,isUpdating:!1})))))}function f(e,t,r){return n=>(n({type:s.giT,isUpdating:!0}),u.Ay.patch(i.mhS(e,r),{...t,number_books_read:Number(t.number_books_read)||0,number_book_club_meetings_attended:Number(t.number_book_club_meetings_attended)||0}).then((()=>(n((0,o.g6)(c._zF)),n(l(e,{year:t.year,isNewYear:!0})),n({type:s.giT,isUpdating:!1})))).catch((e=>(n((0,o.ZH)((0,a.vG)(e,c.MZl))),n({type:s.giT,isUpdating:!1})))))}},75711:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n=r(20708),o=r(63600),a=r(78674),u=r(50663);function i(e,t,r){return u=>{u({type:a.MNQ});const i={target_id:e,target_type:t,reaction_type:r};return(0,n.Ay)({method:"GET",url:o.$00(),params:i})}}const s=(e,t,r)=>async n=>{const o=e.map((e=>({...e,members:[]}))).map((e=>n(i(t,r||u.o4.MESSAGE,e.reaction_type.id)).then((t=>null!==t&&void 0!==t&&t.data?{...e,members:t.data}:e)))),s=await Promise.all(o);var c;n((c=s,{type:a.s5v,data:c}))}},83107:(e,t,r)=>{var n=r(11049);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},23259:e=>{e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}},88183:(e,t,r)=>{var n=r(36669),o=r(83107),a=r(23259),u=r(63445),i=r(3739),s=r(26557);e.exports=function(e,t,r){var c=-1,l=o,d=e.length,f=!0,p=[],y=p;if(r)f=!1,l=a;else if(d>=200){var h=t?null:i(e);if(h)return s(h);f=!1,l=u,y=new n}else y=t?[]:p;e:for(;++c<d;){var v=e[c],m=t?t(v):v;if(v=r||0!==v?v:0,f&&m===m){for(var _=y.length;_--;)if(y[_]===m)continue e;t&&y.push(m),p.push(v)}else l(y,m,r)||(y!==p&&y.push(m),p.push(v))}return p}},3739:(e,t,r)=>{var n=r(57887),o=r(19208),a=r(26557),u=n&&1/a(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=u},25213:e=>{e.exports=function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}},31567:(e,t,r)=>{var n=r(6993),o=r(85381),a=r(25213),u=r(25171),i=Math.max,s=Math.min;e.exports=function(e,t,r){var c=null==e?0:e.length;if(!c)return-1;var l=c;return void 0!==r&&(l=(l=u(r))<0?i(c+l,0):s(l,c-1)),t===t?a(e,t,l):n(e,o,l,!0)}},19208:e=>{e.exports=function(){}},35420:(e,t,r)=>{var n=r(15127),o=r(88183);e.exports=function(e,t){return e&&e.length?o(e,n(t,2)):[]}},24901:e=>{var t="undefined"!==typeof Element,r="function"===typeof Map,n="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,u){if(e===u)return!0;if(e&&u&&"object"==typeof e&&"object"==typeof u){if(e.constructor!==u.constructor)return!1;var i,s,c,l;if(Array.isArray(e)){if((i=e.length)!=u.length)return!1;for(s=i;0!==s--;)if(!a(e[s],u[s]))return!1;return!0}if(r&&e instanceof Map&&u instanceof Map){if(e.size!==u.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!u.has(s.value[0]))return!1;for(l=e.entries();!(s=l.next()).done;)if(!a(s.value[1],u.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&u instanceof Set){if(e.size!==u.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!u.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(u)){if((i=e.length)!=u.length)return!1;for(s=i;0!==s--;)if(e[s]!==u[s])return!1;return!0}if(e.constructor===RegExp)return e.source===u.source&&e.flags===u.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===u.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===u.toString();if((i=(c=Object.keys(e)).length)!==Object.keys(u).length)return!1;for(s=i;0!==s--;)if(!Object.prototype.hasOwnProperty.call(u,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=i;0!==s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!a(e[c[s]],u[c[s]]))return!1;return!0}return e!==e&&u!==u}e.exports=function(e,t){try{return a(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}}}]);
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.