13 lines
66 KiB
JavaScript
13 lines
66 KiB
JavaScript
// ==UserScript==
|
|
// @name Kobo Price
|
|
// @namespace https://tertyshny.dev
|
|
// @description Find lowest book price on kobo.com
|
|
// @noframes
|
|
// @match https://www.kobo.com/*/*/ebook/*
|
|
// @match https://www.kobo.com/*/*/audiobook/*
|
|
// @run-at document-end
|
|
// @version 3
|
|
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAHdElNRQfoBw8NLTdMz5O6AAACdnpUWHRSYXcgcHJvZmlsZSB0eXBlIHhtcAAAOI2tVVuS3CAM/NcpcgQsCQmO4zHmL1X5zPHTAs/sPDy72ao1VX4gkFqtFqa/v//Qr7iKGckm3YsnW0zsYtmVk7Flc6u2S2Pe++Vy6cyYr6Yxk12yNknaPKlgbbFKWnx1bMziq+5ZDU84FMEmZumyc5LNi6xeDButRTBbOMW3bba7hI0iAtCo9cAh6zTclg8kH24wd4kdetvBKRdtOREHuO5jSjLvYtyAZxERuBCXirlFslRhKaK8YZYlYc6446m4L1KJ29i0HneVxM+Dj/QYKEzWzKpqT6kxDWOkV1wxkqxIp/u4eHes4n0g9hk5xkDCuDPubQYAIhdHfYIRL0gLEcL+iAIQUCoUgq0OpioYwoqr3RYCYd1BbKCaxN7XIgjWhlK/YB4B948yET5AtjWkU4ApRQKgF084bNeq3TkX1xw6eyKEzry/dx5KdCSHNT3cuYx82IQgxeE/eDlL7OukZlg6i3t1efCzalStzqaBg03DhXgO2UaZtKoOZc9N8Kyjm1YL+UFR2BRDuA1OPN4EEoJgIVspWCtQfxtkA1ZGvXNsgUnC+ILoBMEzAAoEmpXRDHCEns2QS9UF6o1GWXR+G9oDVgyNtsC3woKYsGkEpofIIUwJaVoQmF8i15n6U+Acgem7kY9arhoqByEIi1JkJWTfbXs5GhIOqz4Wy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VKxsZHnAbrd+WoB6uXlFRYXlwjDkEvvXSBOIubmFul08p0zP/CBJ/dkwoUbVzhz5IT8vRe+dmS9v3PUOSdy/9RhnKGlfXG2u0RDqrF6Opd7p05MD0zupy/cCN2HDMvF7TV20hglZI7LFSpicaZz6y9/8MevXbh73balx8njJ6be8JVXfoCUit7OJltbm8zMdDh77hEQgvX1VTbWV1FKkSQx29tbCGB+YRFnLTs724TDQb6GQG+b3vYWL3zvW/zOv/km+XY/iCQF38P++j//xxw7fpqFhWWefOoj4079Ll13H/rOs1/Pu0dIejt9Go0GKwcOsLC4zNraPS5fvshsp8vc3CLWGj70oaff75Z/Yfrvv/DP+MTJh/jZp54ZjyT+f0BCCP6XP/pXfPfKO3zhv/qf/p095+WXX0RKxfb2Bju9bQ6uHOHI0WNs72yxevcug0GfAwcO0W63Mcbw0MOP/qi7Zp/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/2aZ/+v6DxFWj26d83ksCBH3Uj9ulHR/8vlEIHDcPhU8gAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMDctMTVUMTM6NDU6NTUrMDA6MDCLEXxRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTA3LTE1VDEzOjQ1OjU1KzAwOjAw+kzE7QAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyNC0wNy0xNVQxMzo0NTo1NSswMDowMK1Z5TIAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC
|
|
// ==/UserScript==
|
|
(()=>{var Zt=Object.create;var pe=Object.defineProperty,er=Object.defineProperties,tr=Object.getOwnPropertyDescriptor,rr=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertyNames,Le=Object.getOwnPropertySymbols,or=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;var qe=(e,t,r)=>t in e?pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,K=(e,t)=>{for(var r in t||(t={}))Re.call(t,r)&&qe(e,r,t[r]);if(Le)for(var r of Le(t))ar.call(t,r)&&qe(e,r,t[r]);return e},Z=(e,t)=>er(e,rr(t));var ir=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var cr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of nr(t))!Re.call(e,o)&&o!==r&&pe(e,o,{get:()=>t[o],enumerable:!(n=tr(t,o))||n.enumerable});return e};var sr=(e,t,r)=>(r=e!=null?Zt(or(e)):{},cr(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e));var $t=ir((Ne,He)=>{(function(e,t){typeof Ne=="object"&&typeof He<"u"?He.exports=t():typeof define=="function"&&define.amd?define(t):(e=e||self,e.currency=t())})(Ne,function(){function e(a,i){if(!(this instanceof e))return new e(a,i);i=Object.assign({},r,i);var s=Math.pow(10,i.precision);this.intValue=a=t(a,i),this.value=a/s,i.increment=i.increment||1/s,i.groups=i.useVedic?o:n,this.s=i,this.p=s}function t(a,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0,u=i.decimal,d=i.errorOnInvalid,_=i.fromCents,c=Math.pow(10,i.precision),m=a instanceof e;if(m&&_)return a.intValue;if(typeof a=="number"||m)u=m?a.value:a;else if(typeof a=="string")d=new RegExp("[^-\\d"+u+"]","g"),u=new RegExp("\\"+u,"g"),u=(u=a.replace(/\((.*)\)/,"-$1").replace(d,"").replace(u,"."))||0;else{if(d)throw Error("Invalid Input");u=0}return _||(u=(u*c).toFixed(4)),s?Math.round(u):u}var r={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(a,i){var s=i.pattern,u=i.negativePattern,d=i.symbol,_=i.separator,c=i.decimal;i=i.groups;var m=(""+a).replace(/^-/,"").split("."),f=m[0];return m=m[1],(0<=a.value?s:u).replace("!",d).replace("#",f.replace(i,"$1"+_)+(m?c+m:""))},fromCents:!1},n=/(\d)(?=(\d{3})+\b)/g,o=/(\d)(?=(\d\d)+\d\b)/g;return e.prototype={add:function(a){var i=this.s,s=this.p;return e((this.intValue+t(a,i))/(i.fromCents?1:s),i)},subtract:function(a){var i=this.s,s=this.p;return e((this.intValue-t(a,i))/(i.fromCents?1:s),i)},multiply:function(a){var i=this.s;return e(this.intValue*a/(i.fromCents?1:Math.pow(10,i.precision)),i)},divide:function(a){var i=this.s;return e(this.intValue/t(a,i,!1),i)},distribute:function(a){var i=this.intValue,s=this.p,u=this.s,d=[],_=Math[0<=i?"floor":"ceil"](i/a),c=Math.abs(i-_*a);for(s=u.fromCents?1:s;a!==0;a--){var m=e(_/s,u);0<c--&&(m=m[0<=i?"add":"subtract"](1/s)),d.push(m)}return d},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(a){var i=this.s;return typeof a=="function"?a(this,i):i.format(this,Object.assign({},i,a))},toString:function(){var a=this.s,i=a.increment;return(Math.round(this.intValue/this.p/i)*i).toFixed(a.precision)},toJSON:function(){return this.value}},e})});globalThis.l=(...e)=>console.log("KOBOPRICE",...e);var ye="KOBOPRICE",Ae=()=>{localStorage.getItem(ye)||ge({books:{},rates:null})},ee=()=>JSON.parse(localStorage.getItem(ye)),ge=e=>localStorage.setItem(ye,JSON.stringify(e)),Ve=()=>ee().rates,je=e=>ge(Z(K({},ee()),{rates:e})),Ue=e=>ee().books[e],Be=(e,t)=>{let r=ee();r.books[t]=e,ge(r)};var ae,w,ze,ur,R,Qe,Je,we,ke,ve,be,dr,z={},Ke=[],fr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ce=Array.isArray;function I(e,t){for(var r in t)e[r]=t[r];return e}function Ze(e){var t=e.parentNode;t&&t.removeChild(e)}function S(e,t,r){var n,o,a,i={};for(a in t)a=="key"?n=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?ae.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return re(e,i,n,o,null)}function re(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o==null?++ze:o,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(a),a}function ie(e){return e.children}function ne(e,t){this.props=e,this.context=t}function A(e,t){if(t==null)return e.__?A(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?A(e):null}function et(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return et(e)}}function Xe(e){(!e.__d&&(e.__d=!0)&&R.push(e)&&!oe.__r++||Qe!==w.debounceRendering)&&((Qe=w.debounceRendering)||Je)(oe)}function oe(){var e,t,r,n,o,a,i,s;for(R.sort(we);e=R.shift();)e.__d&&(t=R.length,n=void 0,a=(o=(r=e).__v).__e,i=[],s=[],r.__P&&((n=I({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),Pe(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[a]:null,i,a==null?A(o):a,!!(32&o.__u),s),n.__v=o.__v,n.__.__k[n.__i]=n,nt(i,n,s),n.__e!=a&&et(n)),R.length>t&&R.sort(we));oe.__r=0}function tt(e,t,r,n,o,a,i,s,u,d,_){var c,m,f,y,C,v=n&&n.__k||Ke,h=t.length;for(r.__d=u,lr(r,t,v),u=r.__d,c=0;c<h;c++)(f=r.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(m=f.__i===-1?z:v[f.__i]||z,f.__i=c,Pe(e,f,m,o,a,i,s,u,d,_),y=f.__e,f.ref&&m.ref!=f.ref&&(m.ref&&Oe(m.ref,null,f),_.push(f.ref,f.__c||y,f)),C==null&&y!=null&&(C=y),65536&f.__u||m.__k===f.__k?(u&&typeof f.type=="string"&&!e.contains(u)&&(u=A(m)),u=rt(f,u,e)):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:y&&(u=y.nextSibling),f.__d=void 0,f.__u&=-196609);r.__d=u,r.__e=C}function lr(e,t,r){var n,o,a,i,s,u=t.length,d=r.length,_=d,c=0;for(e.__k=[],n=0;n<u;n++)i=n+c,(o=e.__k[n]=(o=t[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?re(null,o,null,null,null):Ce(o)?re(ie,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?re(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=_r(o,r,i,_),o.__i=s,a=null,s!==-1&&(_--,(a=r[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==i&&(s==i-1?c=s-i:s==i+1?c++:s>i?_>u-i?c+=s-i:c--:s<i&&c++,s!==n+c&&(o.__u|=65536))):(a=r[i])&&a.key==null&&a.__e&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=A(a)),xe(a,a,!1),r[i]=null,_--);if(_)for(n=0;n<d;n++)(a=r[n])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=A(a)),xe(a,a))}function rt(e,t,r){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=rt(n[o],t,r));return t}e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function _r(e,t,r,n){var o=e.key,a=e.type,i=r-1,s=r+1,u=t[r];if(u===null||u&&o==u.key&&a===u.type&&!(131072&u.__u))return r;if(n>(u!=null&&!(131072&u.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((u=t[i])&&!(131072&u.__u)&&o==u.key&&a===u.type)return i;i--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&a===u.type)return s;s++}}return-1}function $e(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||fr.test(t)?r:r+"px"}function te(e,t,r,n,o){var a;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||$e(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||$e(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=ke,e.addEventListener(t,a?be:ve,a)):e.removeEventListener(t,a?be:ve,a);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r==null?"":r;break e}catch(i){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Ge(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=ke++;else if(t.t<r.u)return;return r(w.event?w.event(t):t)}}}function Pe(e,t,r,n,o,a,i,s,u,d){var _,c,m,f,y,C,v,h,g,F,W,H,Y,G,L,U,D=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),a=[s=t.__e=r.__e]),(_=w.__b)&&_(t);e:if(typeof D=="function")try{if(h=t.props,g="prototype"in D&&D.prototype.render,F=(_=D.contextType)&&n[_.__c],W=_?F?F.props.value:_.__:n,r.__c?v=(c=t.__c=r.__c).__=c.__E:(g?t.__c=c=new D(h,W):(t.__c=c=new ne(h,W),c.constructor=D,c.render=hr),F&&F.sub(c),c.props=h,c.state||(c.state={}),c.context=W,c.__n=n,m=c.__d=!0,c.__h=[],c._sb=[]),g&&c.__s==null&&(c.__s=c.state),g&&D.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=I({},c.__s)),I(c.__s,D.getDerivedStateFromProps(h,c.__s))),f=c.props,y=c.state,c.__v=t,m)g&&D.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),g&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(g&&D.getDerivedStateFromProps==null&&h!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(h,W),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(h,c.__s,W)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(c.props=h,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(q){q&&(q.__=t)}),H=0;H<c._sb.length;H++)c.__h.push(c._sb[H]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(h,c.__s,W),g&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,y,C)})}if(c.context=W,c.props=h,c.__P=e,c.__e=!1,Y=w.__r,G=0,g){for(c.state=c.__s,c.__d=!1,Y&&Y(t),_=c.render(c.props,c.state,c.context),L=0;L<c._sb.length;L++)c.__h.push(c._sb[L]);c._sb=[]}else do c.__d=!1,Y&&Y(t),_=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++G<25);c.state=c.__s,c.getChildContext!=null&&(n=I(I({},n),c.getChildContext())),g&&!m&&c.getSnapshotBeforeUpdate!=null&&(C=c.getSnapshotBeforeUpdate(f,y)),tt(e,Ce(U=_!=null&&_.type===ie&&_.key==null?_.props.children:_)?U:[U],t,r,n,o,a,i,s,u,d),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),v&&(c.__E=c.__=null)}catch(q){t.__v=null,u||a!=null?(t.__e=s,t.__u|=u?160:32,a[a.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),w.__e(q,t,r)}else a==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=mr(r.__e,t,r,n,o,a,i,u,d);(_=w.diffed)&&_(t)}function nt(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Oe(r[n],r[++n],r[++n]);w.__c&&w.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){w.__e(a,o.__v)}})}function mr(e,t,r,n,o,a,i,s,u){var d,_,c,m,f,y,C,v=r.props,h=t.props,g=t.type;if(g==="svg"?o="http://www.w3.org/2000/svg":g==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(d=0;d<a.length;d++)if((f=a[d])&&"setAttribute"in f==!!g&&(g?f.localName===g:f.nodeType===3)){e=f,a[d]=null;break}}if(e==null){if(g===null)return document.createTextNode(h);e=document.createElementNS(o,g,h.is&&h),a=null,s=!1}if(g===null)v===h||s&&e.data===h||(e.data=h);else{if(a=a&&ae.call(e.childNodes),v=r.props||z,!s&&a!=null)for(v={},d=0;d<e.attributes.length;d++)v[(f=e.attributes[d]).name]=f.value;for(d in v)if(f=v[d],d!="children"){if(d=="dangerouslySetInnerHTML")c=f;else if(d!=="key"&&!(d in h)){if(d=="value"&&"defaultValue"in h||d=="checked"&&"defaultChecked"in h)continue;te(e,d,null,f,o)}}for(d in h)f=h[d],d=="children"?m=f:d=="dangerouslySetInnerHTML"?_=f:d=="value"?y=f:d=="checked"?C=f:d==="key"||s&&typeof f!="function"||v[d]===f||te(e,d,f,v[d],o);if(_)s||c&&(_.__html===c.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(c&&(e.innerHTML=""),tt(e,Ce(m)?m:[m],t,r,n,g==="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,i,a?a[0]:r.__k&&A(r,0),s,u),a!=null)for(d=a.length;d--;)a[d]!=null&&Ze(a[d]);s||(d="value",y!==void 0&&(y!==e[d]||g==="progress"&&!y||g==="option"&&y!==v[d])&&te(e,d,y,v[d],o),d="checked",C!==void 0&&C!==e[d]&&te(e,d,C,v[d],o))}return e}function Oe(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){w.__e(n,r)}}function xe(e,t,r){var n,o;if(w.unmount&&w.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Oe(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){w.__e(a,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&xe(n[o],t,r||typeof e.type!="function");r||e.__e==null||Ze(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function hr(e,t,r){return this.constructor(e,r)}function ot(e,t,r){var n,o,a,i;w.__&&w.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,a=[],i=[],Pe(t,e=(!n&&r||t).__k=S(ie,null,[e]),o||z,z,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?ae.call(t.childNodes):null,a,!n&&r?r:o?o.__e:t.firstChild,n,i),nt(a,e,i)}ae=Ke.slice,w={__e:function(e,t,r,n){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),i=o.__d),i)return o.__E=o}catch(s){e=s}throw e}},ze=0,ur=function(e){return e!=null&&e.constructor==null},ne.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=I({},this.state),typeof e=="function"&&(e=e(I({},r),this.props)),e&&I(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Xe(this))},ne.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Xe(this))},ne.prototype.render=ie,R=[],Je=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,we=function(e,t){return e.__v.__b-t.__v.__b},oe.__r=0,ke=0,ve=Ge(!1),be=Ge(!0),dr=0;var J,x,De,at,se=0,_t=[],k=w,it=k.__b,ct=k.__r,st=k.diffed,ut=k.__c,dt=k.unmount,ft=k.__;function Se(e,t){k.__h&&k.__h(x,e,se||t),se=0;var r=x.__H||(x.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ue(e){return se=1,pr(pt,e)}function pr(e,t,r){var n=Se(J++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):pt(void 0,t),function(s){var u=n.__N?n.__N[0]:n.__[0],d=n.t(u,s);u!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=x,!x.u)){var o=function(s,u,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(m){return!!m.__c});if(_.every(function(m){return!m.__N}))return!a||a.call(this,s,u,d);var c=!1;return _.forEach(function(m){if(m.__N){var f=m.__[0];m.__=m.__N,m.__N=void 0,f!==m.__[0]&&(c=!0)}}),!(!c&&n.__c.props===s)&&(!a||a.call(this,s,u,d))};x.u=!0;var a=x.shouldComponentUpdate,i=x.componentWillUpdate;x.componentWillUpdate=function(s,u,d){if(this.__e){var _=a;a=void 0,o(s,u,d),a=_}i&&i.call(this,s,u,d)},x.shouldComponentUpdate=o}return n.__N||n.__}function mt(e,t){var r=Se(J++,3);!k.__s&&ht(r.__H,t)&&(r.__=e,r.i=t,x.__H.__h.push(r))}function yr(e,t){var r=Se(J++,7);return ht(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function We(e,t){return se=8,yr(function(){return e},t)}function gr(){for(var e;e=_t.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ce),e.__H.__h.forEach(Me),e.__H.__h=[]}catch(t){e.__H.__h=[],k.__e(t,e.__v)}}k.__b=function(e){x=null,it&&it(e)},k.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ft&&ft(e,t)},k.__r=function(e){ct&&ct(e),J=0;var t=(x=e.__c).__H;t&&(De===x?(t.__h=[],x.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(ce),t.__h.forEach(Me),t.__h=[],J=0)),De=x},k.diffed=function(e){st&&st(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(_t.push(t)!==1&&at===k.requestAnimationFrame||((at=k.requestAnimationFrame)||wr)(gr)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),De=x=null},k.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ce),r.__h=r.__h.filter(function(n){return!n.__||Me(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],k.__e(n,r.__v)}}),ut&&ut(e,t)},k.unmount=function(e){dt&&dt(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ce(n)}catch(o){t=o}}),r.__H=void 0,t&&k.__e(t,r.__v))};var lt=typeof requestAnimationFrame=="function";function wr(e){var t,r=function(){clearTimeout(n),lt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);lt&&(t=requestAnimationFrame(r))}function ce(e){var t=x,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),x=t}function Me(e){var t=x;e.__c=e.__(),x=t}function ht(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function pt(e,t){return typeof t=="function"?t(e):t}var Te=[{countryCode:"ww",currencyCode:"usd"},{countryCode:"ca",currencyCode:"cad"},{countryCode:"us",currencyCode:"usd"},{countryCode:"in",currencyCode:"inr"},{countryCode:"za",currencyCode:"zar"},{countryCode:"au",currencyCode:"aud"},{countryCode:"hk",currencyCode:"hkd"},{countryCode:"jp",currencyCode:"jpy"},{countryCode:"my",currencyCode:"myr"},{countryCode:"nz",currencyCode:"nzd"},{countryCode:"ph",currencyCode:"php"},{countryCode:"sg",currencyCode:"sgd"},{countryCode:"tw",currencyCode:"twd"},{countryCode:"th",currencyCode:"usd"},{countryCode:"at",currencyCode:"eur"},{countryCode:"be",currencyCode:"eur"},{countryCode:"cy",currencyCode:"eur"},{countryCode:"cz",currencyCode:"czk"},{countryCode:"dk",currencyCode:"dkk"},{countryCode:"ee",currencyCode:"eur"},{countryCode:"fi",currencyCode:"eur"},{countryCode:"fr",currencyCode:"eur"},{countryCode:"de",currencyCode:"eur"},{countryCode:"gr",currencyCode:"eur"},{countryCode:"ie",currencyCode:"eur"},{countryCode:"it",currencyCode:"eur"},{countryCode:"lt",currencyCode:"eur"},{countryCode:"lu",currencyCode:"eur"},{countryCode:"mt",currencyCode:"eur"},{countryCode:"nl",currencyCode:"eur"},{countryCode:"no",currencyCode:"nok"},{countryCode:"pl",currencyCode:"pln"},{countryCode:"pt",currencyCode:"eur"},{countryCode:"ro",currencyCode:"ron"},{countryCode:"sk",currencyCode:"eur"},{countryCode:"si",currencyCode:"eur"},{countryCode:"es",currencyCode:"eur"},{countryCode:"se",currencyCode:"sek"},{countryCode:"ch",currencyCode:"chf"},{countryCode:"tr",currencyCode:"try"},{countryCode:"gb",currencyCode:"gbp"},{countryCode:"ar",currencyCode:"usd"},{countryCode:"br",currencyCode:"brl"},{countryCode:"cl",currencyCode:"clp"},{countryCode:"co",currencyCode:"cop"},{countryCode:"mx",currencyCode:"mxn"},{countryCode:"pe",currencyCode:"pen"}];var yt=e=>{let t=/^https:\/\/www\.kobo\.com\/../,r="https://www.kobo.com/".concat(e),n=window.location.href.replace(t,r);return l("url for country",e,n),n};var vr=e=>new Promise(t=>setTimeout(t,e)),br=e=>new Promise((t,r)=>{vr(5e3).then(()=>r("price not found"));var n=new MutationObserver(()=>{var a;let o=(a=e==null?void 0:e.querySelector(".primary-right-container .pricing-details .active-price span"))==null?void 0:a.textContent;o&&(l("found price",o),n.disconnect(),t(o))});n.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})}),gt=async e=>{try{l("going to",e);let t=document.createElement("iframe");t.src=e,t.hidden=!0,document.body.append(t),await new Promise(n=>t.contentWindow.onload=n),l("starting observing price on",e);let r=await br(t.contentDocument.body,e);return document.body.removeChild(t),r}catch(t){return l("getPriceForCountry",t,e),""}};function b(e){let t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function O(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}var xr=Math.pow(10,8)*24*60*60*1e3,Tn=-xr,de=6048e5,wt=864e5;var kr=3600;var vt=kr*24,En=vt*7,Cr=vt*365.2425,Pr=Cr/12,Fn=Pr*3;var Or={};function N(){return Or}function T(e,t){var s,u,d,_,c,m,f,y;let r=N(),n=(y=(f=(_=(d=t==null?void 0:t.weekStartsOn)!=null?d:(u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)!=null?_:r.weekStartsOn)!=null?f:(m=(c=r.locale)==null?void 0:c.options)==null?void 0:m.weekStartsOn)!=null?y:0,o=b(e),a=o.getDay(),i=(a<n?7:0)+a-n;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function V(e){return T(e,{weekStartsOn:1})}function fe(e){let t=b(e),r=t.getFullYear(),n=O(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let o=V(n),a=O(e,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let i=V(a);return t.getTime()>=o.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function B(e){let t=b(e);return t.setHours(0,0,0,0),t}function Ee(e){let t=b(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function bt(e,t){let r=B(e),n=B(t),o=+r-Ee(r),a=+n-Ee(n);return Math.round((o-a)/wt)}function xt(e){let t=fe(e),r=O(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),V(r)}function kt(e){return O(e,Date.now())}function Ct(e,t){let r=B(e),n=B(t);return+r==+n}function Pt(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ot(e){if(!Pt(e)&&typeof e!="number")return!1;let t=b(e);return!isNaN(Number(t))}function Dt(e){let t=b(e),r=O(e,0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}var Dr={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Mt=(e,t,r)=>{let n,o=Dr[e];return typeof o=="string"?n=o:t===1?n=o.one:n=o.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function le(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Mr={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Sr={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wr={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},St={date:le({formats:Mr,defaultWidth:"full"}),time:le({formats:Sr,defaultWidth:"full"}),dateTime:le({formats:Wr,defaultWidth:"full"})};var Tr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Wt=(e,t,r,n)=>Tr[e];function Q(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",o;if(n==="formatting"&&e.formattingValues){let i=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):i;o=e.formattingValues[s]||e.formattingValues[i]}else{let i=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[s]||e.values[i]}let a=e.argumentCallback?e.argumentCallback(t):t;return o[a]}}var Er={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Fr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Yr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ir={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Nr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Hr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Lr=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Tt={ordinalNumber:Lr,era:Q({values:Er,defaultWidth:"wide"}),quarter:Q({values:Fr,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Q({values:Yr,defaultWidth:"wide"}),day:Q({values:Ir,defaultWidth:"wide"}),dayPeriod:Q({values:Nr,defaultWidth:"wide",formattingValues:Hr,defaultFormattingWidth:"wide"})};function X(e){return(t,r={})=>{let n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let i=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Rr(s,c=>c.test(i)):qr(s,c=>c.test(i)),d;d=e.valueCallback?e.valueCallback(u):u,d=r.valueCallback?r.valueCallback(d):d;let _=t.slice(i.length);return{value:d,rest:_}}}function qr(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Rr(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Et(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let o=n[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=r.valueCallback?r.valueCallback(i):i;let s=t.slice(o.length);return{value:i,rest:s}}}var Ar=/^(\d+)(th|st|nd|rd)?/i,Vr=/\d+/i,jr={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ur={any:[/^b/i,/^(a|c)/i]},Br={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Qr={any:[/1/i,/2/i,/3/i,/4/i]},Xr={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},$r={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gr={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zr={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Jr={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kr={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ft={ordinalNumber:Et({matchPattern:Ar,parsePattern:Vr,valueCallback:e=>parseInt(e,10)}),era:X({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Ur,defaultParseWidth:"any"}),quarter:X({matchPatterns:Br,defaultMatchWidth:"wide",parsePatterns:Qr,defaultParseWidth:"any",valueCallback:e=>e+1}),month:X({matchPatterns:Xr,defaultMatchWidth:"wide",parsePatterns:$r,defaultParseWidth:"any"}),day:X({matchPatterns:Gr,defaultMatchWidth:"wide",parsePatterns:zr,defaultParseWidth:"any"}),dayPeriod:X({matchPatterns:Jr,defaultMatchWidth:"any",parsePatterns:Kr,defaultParseWidth:"any"})};var Fe={code:"en-US",formatDistance:Mt,formatLong:St,formatRelative:Wt,localize:Tt,match:Ft,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Yt(e){let t=b(e);return bt(t,Dt(t))+1}function It(e){let t=b(e),r=+V(t)-+xt(t);return Math.round(r/de)+1}function _e(e,t){var _,c,m,f,y,C,v,h;let r=b(e),n=r.getFullYear(),o=N(),a=(h=(v=(f=(m=t==null?void 0:t.firstWeekContainsDate)!=null?m:(c=(_=t==null?void 0:t.locale)==null?void 0:_.options)==null?void 0:c.firstWeekContainsDate)!=null?f:o.firstWeekContainsDate)!=null?v:(C=(y=o.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)!=null?h:1,i=O(e,0);i.setFullYear(n+1,0,a),i.setHours(0,0,0,0);let s=T(i,t),u=O(e,0);u.setFullYear(n,0,a),u.setHours(0,0,0,0);let d=T(u,t);return r.getTime()>=s.getTime()?n+1:r.getTime()>=d.getTime()?n:n-1}function Nt(e,t){var s,u,d,_,c,m,f,y;let r=N(),n=(y=(f=(_=(d=t==null?void 0:t.firstWeekContainsDate)!=null?d:(u=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)!=null?_:r.firstWeekContainsDate)!=null?f:(m=(c=r.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)!=null?y:1,o=_e(e,t),a=O(e,0);return a.setFullYear(o,0,n),a.setHours(0,0,0,0),T(a,t)}function Ht(e,t){let r=b(e),n=+T(r,t)-+Nt(r,t);return Math.round(n/de)+1}function p(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var E={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return p(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):p(r+1,2)},d(e,t){return p(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return p(e.getHours()%12||12,t.length)},H(e,t){return p(e.getHours(),t.length)},m(e,t){return p(e.getMinutes(),t.length)},s(e,t){return p(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,r-3));return p(o,t.length)}};var $={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ye={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),o=n>0?n:1-n;return r.ordinalNumber(o,{unit:"year"})}return E.y(e,t)},Y:function(e,t,r,n){let o=_e(e,n),a=o>0?o:1-o;if(t==="YY"){let i=a%100;return p(i,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):p(a,t.length)},R:function(e,t){let r=fe(e);return p(r,t.length)},u:function(e,t){let r=e.getFullYear();return p(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return p(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return p(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return p(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let o=Ht(e,n);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):p(o,t.length)},I:function(e,t,r){let n=It(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):p(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,r){let n=Yt(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):p(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return p(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let o=e.getDay(),a=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return p(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),o=n===0?7:n;switch(t){case"i":return String(o);case"ii":return p(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),o;switch(n===12?o=$.noon:n===0?o=$.midnight:o=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),o;switch(n>=17?o=$.evening:n>=12?o=$.afternoon:n>=4?o=$.morning:o=$.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return E.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):p(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):p(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return qt(n);case"XXXX":case"XX":return j(n);case"XXXXX":case"XXX":default:return j(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return qt(n);case"xxxx":case"xx":return j(n);case"xxxxx":case"xxx":default:return j(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Lt(n,":");case"OOOO":default:return"GMT"+j(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Lt(n,":");case"zzzz":default:return"GMT"+j(n,":")}},t:function(e,t,r){let n=Math.trunc(e.getTime()/1e3);return p(n,t.length)},T:function(e,t,r){let n=e.getTime();return p(n,t.length)}};function Lt(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),a=n%60;return a===0?r+String(o):r+String(o)+t+p(a,2)}function qt(e,t){return e%60===0?(e>0?"-":"+")+p(Math.abs(e)/60,2):j(e,t)}function j(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),o=p(Math.trunc(n/60),2),a=p(n%60,2);return r+o+t+a}var Rt=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},At=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Zr=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return Rt(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",Rt(n,t)).replace("{{time}}",At(o,t))},Vt={p:At,P:Zr};var en=/^D+$/,tn=/^Y+$/,rn=["D","DD","YY","YYYY"];function jt(e){return en.test(e)}function Ut(e){return tn.test(e)}function Bt(e,t,r){let n=nn(e,t,r);if(console.warn(n),rn.includes(e))throw new RangeError(n)}function nn(e,t,r){let n=e[0]==="Y"?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(n," to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}var on=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,an=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,cn=/^'([^]*?)'?$/,sn=/''/g,un=/[a-zA-Z]/;function Qt(e,t,r){var _,c,m,f,y,C,v,h,g,F,W,H,Y,G,L,U,D,q;let n=N(),o=(c=(_=r==null?void 0:r.locale)!=null?_:n.locale)!=null?c:Fe,a=(F=(g=(C=(y=r==null?void 0:r.firstWeekContainsDate)!=null?y:(f=(m=r==null?void 0:r.locale)==null?void 0:m.options)==null?void 0:f.firstWeekContainsDate)!=null?C:n.firstWeekContainsDate)!=null?g:(h=(v=n.locale)==null?void 0:v.options)==null?void 0:h.firstWeekContainsDate)!=null?F:1,i=(q=(D=(G=(Y=r==null?void 0:r.weekStartsOn)!=null?Y:(H=(W=r==null?void 0:r.locale)==null?void 0:W.options)==null?void 0:H.weekStartsOn)!=null?G:n.weekStartsOn)!=null?D:(U=(L=n.locale)==null?void 0:L.options)==null?void 0:U.weekStartsOn)!=null?q:0,s=b(e);if(!Ot(s))throw new RangeError("Invalid time value");let u=t.match(an).map(M=>{let P=M[0];if(P==="p"||P==="P"){let he=Vt[P];return he(M,o.formatLong)}return M}).join("").match(on).map(M=>{if(M==="''")return{isToken:!1,value:"'"};let P=M[0];if(P==="'")return{isToken:!1,value:dn(M)};if(Ye[P])return{isToken:!0,value:M};if(P.match(un))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:M}});o.localize.preprocessor&&(u=o.localize.preprocessor(s,u));let d={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return u.map(M=>{if(!M.isToken)return M.value;let P=M.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&Ut(P)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&jt(P))&&Bt(P,t,String(e));let he=Ye[P[0]];return he(s,P,o.localize,d)}).join("")}function dn(e){let t=e.match(cn);return t?t[1].replace(sn,"'"):e}function me(e){return Ct(e,kt(e))}var Ie="usd",fn=async()=>{try{let e="https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/".concat(Ie,".json");return l("loading currency rates",e),await(await fetch(e)).json()}catch(e){return l("loadCurrencyRates",e),null}},Xt=async e=>{let t=Ve();if(t&&me(t.date))return l("found rates in cache",t),t[Ie][e];let r=await fn();return r?(l("new rates",r),je(r),r[Ie][e]):(l("failed to download rates"),0)};var Gt=sr($t(),1),zt=async(e,t,r)=>{l("rate for",t,"is",r);let n=!1;switch(t){case"inr":case"php":{n=!0;break}case"jpy":break;case"zar":{e=e.replace(",",".");break}case"dkk":{e=e.replace("kr.","").replace(",",".");break}case"pen":{e=e.replace("S/.","");break}case"clp":case"cop":case"twd":break;default:e=e.replace(/[^\d,.-]/,"").replace(",",".")}let o=(0,Gt.default)(e,{useVedic:n}).divide(r);return l("converted price for",t,o),{intValue:o.intValue,formatted:o.format()}};var Jt=async e=>{l("looking price for",e.countryCode);let t=yt(e.countryCode),r=Ue(t);if(r&&me(r.cachedAt))return l("found book price in cache",r),r;let n=await gt(t),o;if(n){l("found price",n,t);let i=await Xt(e.currencyCode);o=await zt(n,e.currencyCode,i)}let a=Z(K({},e),{countryPrice:n,convertedPrice:o,url:t,cachedAt:Qt(new Date,"yyyy-MM-dd")});return Be(a,t),a};var ln=e=>e.sort((t,r)=>{var n,o;return(((n=t==null?void 0:t.convertedPrice)==null?void 0:n.intValue)||1/0)-(((o=r==null?void 0:r.convertedPrice)==null?void 0:o.intValue)||1/0)}),Kt=()=>{let[e,t]=ue(Te);mt(()=>{(async()=>{for(let[o,a]of Te.entries()){let i=await Jt(a);e[o]=i,ln(e),t([...e])}l("DONE")})()},[]);let r=e.filter(n=>n.countryPrice!=null).length/e.length*100;return[e,r.toFixed(0)]};var _n=()=>{let e=document.querySelectorAll(".pricing-details");l("all pricing containers",e);let t;for(let r of e)if(r.checkVisibility()){l("found visible pricing container",r),t=r;break}return t.parentNode.insertBefore(document.createElement("div"),t)},mn=()=>document.querySelectorAll(".read-now").length,hn=(e,t)=>e==null?"LOADING":t?"".concat(e," => ").concat(t==null?void 0:t.formatted):"NOT FOUND",pn=({props:e})=>{let{convertedPrice:t,countryCode:r,countryPrice:n,url:o}=e,[a,i]=ue(!1),s=We(()=>i(!0)),u=We(()=>i(!1));return S("a",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",backgroundColor:a?"#d7d7d7":"",padding:"10px 10px 0 10px"},href:o,target:"_blank",onMouseEnter:s,onMouseLeave:u},[S("p",null,r.toUpperCase()),S("p",{style:{fontWeight:"bold"}},hn(n,t))])},yn=()=>S("div",{style:{display:"flex",flexDirection:"column",border:"1px solid black",textAlign:"center"}},S("h2",null,"Already in Library!")),gn=e=>{let t={padding:"10px 10px 0 10px",textAlign:"center"};return e==100?S("h2",{style:t},"all prices are loaded!"):S("h2",{style:t},"".concat(e,"%"))},wn=()=>{let[e,t]=Kt(),r={display:"flex",flexDirection:"column",border:"1px solid black"};return mn()?yn():S("div",{style:r},[gn(t),...e.map(n=>S(pn,{props:n}))])};l("starting...");Ae();ot(S(wn),_n());})();
|
|
//# sourceMappingURL=index.js.map
|