@salla.sa/twilight-components 2.14.280 → 2.14.281
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.
- package/dist/cjs/{filepond-DsqUOkNG.js → filepond-CiZAawE8.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-7eXNQEWn.js → filepond-plugin-file-poster-dAAL74pv.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CRHT2AgS.js → filepond-plugin-file-validate-size-DX7dh9iS.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DnDqZ0hN.js → filepond-plugin-file-validate-type-D31jBk9C.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-H6VFdRrR.js → filepond-plugin-image-edit-Df-PKTgD.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BszJj7C6.js → filepond-plugin-image-exif-orientation-u0qcpPgn.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-dVSvYXjP.js → filepond-plugin-image-preview-B9cWK6w_.js} +1 -1
- package/dist/cjs/{index-DOBDJG73.js → index-9ilPrwvx.js} +6 -2
- package/dist/cjs/{index-BO3dRmRE.js → index-DFLwy1RU.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion_62.cjs.entry.js +9 -9
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +64 -0
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-order-totals-card/interfaces.js +1 -0
- package/dist/collection/components/salla-order-totals-card/salla-order-totals-card.css +3 -0
- package/dist/collection/components/salla-order-totals-card/salla-order-totals-card.js +101 -0
- package/dist/components/index.js +2 -2
- package/dist/components/salla-order-totals-card.d.ts +11 -0
- package/dist/components/salla-order-totals-card.js +85 -0
- package/dist/esm/{filepond-CHhEQZvc.js → filepond-dFr7ZRIh.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DSVBWkBJ.js → filepond-plugin-file-poster-C2Eh6onX.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Dqp8uxWB.js → filepond-plugin-file-validate-size-BFFKQeVo.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-RevWYrSI.js → filepond-plugin-file-validate-type-BMcEx2wx.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-vBD-HioG.js → filepond-plugin-image-edit-DBTi520I.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Bq-ObUI7.js → filepond-plugin-image-exif-orientation-BFi09BBP.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-53CJeVvz.js → filepond-plugin-image-preview-CKBNBlwg.js} +1 -1
- package/dist/esm/{index-BDdB7Hhe.js → index-BI9_XUHd.js} +1 -1
- package/dist/esm/{index-Jl-UB-7q.js → index-DhLMCubZ.js} +6 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion_62.entry.js +9 -9
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +62 -0
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-review-card.entry.js +1 -1
- package/dist/esm/salla-reviews-page.entry.js +1 -1
- package/dist/esm/salla-reviews.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/twilight/{p-d66c1bba.entry.js → p-13e45e14.entry.js} +1 -1
- package/dist/twilight/{p-9b4b9c2e.entry.js → p-19002923.entry.js} +1 -1
- package/dist/twilight/{p-f69d6885.entry.js → p-1d29712c.entry.js} +1 -1
- package/dist/twilight/{p-4bb7da0f.entry.js → p-2c1e4c1d.entry.js} +1 -1
- package/dist/twilight/{p-6a9aa1b0.entry.js → p-3070a321.entry.js} +1 -1
- package/dist/twilight/{p-5e050bbd.entry.js → p-3cd21363.entry.js} +2 -2
- package/dist/twilight/{p-172c5319.entry.js → p-3e4cdf22.entry.js} +1 -1
- package/dist/twilight/{p-36ebf98a.entry.js → p-458ceb0a.entry.js} +1 -1
- package/dist/twilight/{p-943cd80c.entry.js → p-4741c28f.entry.js} +1 -1
- package/dist/twilight/{p-b202c91c.entry.js → p-4add5e4b.entry.js} +1 -1
- package/dist/twilight/{p-e41b2528.entry.js → p-4e85f126.entry.js} +1 -1
- package/dist/twilight/{p-126df2a3.entry.js → p-502794c6.entry.js} +1 -1
- package/dist/twilight/{p-e2acf98d.entry.js → p-53f8167a.entry.js} +1 -1
- package/dist/twilight/{p-976281d9.entry.js → p-5b58d940.entry.js} +1 -1
- package/dist/twilight/{p-d13ad0d4.entry.js → p-6a663fe8.entry.js} +1 -1
- package/dist/twilight/{p-c39d74c4.entry.js → p-6a71bdfe.entry.js} +1 -1
- package/dist/twilight/{p-1c1f8fc4.entry.js → p-6c12da69.entry.js} +1 -1
- package/dist/twilight/{p-556cddbf.entry.js → p-71f38e37.entry.js} +1 -1
- package/dist/twilight/{p-688fee3d.entry.js → p-81175d28.entry.js} +1 -1
- package/dist/twilight/{p-da930cd8.entry.js → p-837db48c.entry.js} +1 -1
- package/dist/twilight/{p-6cbb4fa3.entry.js → p-872751a6.entry.js} +1 -1
- package/dist/twilight/{p-cb0f0a97.entry.js → p-89e68f52.entry.js} +1 -1
- package/dist/twilight/{p-3f0ff72a.entry.js → p-8c37f9c4.entry.js} +1 -1
- package/dist/twilight/{p-80f4edfe.entry.js → p-9d281d63.entry.js} +1 -1
- package/dist/twilight/{p-Dn5xdjWu.js → p-C59ZfmbG.js} +1 -1
- package/dist/twilight/{p-CMQVASlw.js → p-CN32_p_o.js} +1 -1
- package/dist/twilight/{p-Bevr-CJ8.js → p-Ch4CMan-.js} +1 -1
- package/dist/twilight/{p-CUUd-KOT.js → p-CnLRqhlE.js} +1 -1
- package/dist/twilight/{p-A3xpoYLO.js → p-DTSUHJHQ.js} +1 -1
- package/dist/twilight/p-DhLMCubZ.js +5 -0
- package/dist/twilight/{p-BYMpYccw.js → p-DnAUz24K.js} +1 -1
- package/dist/twilight/{p-gV7k-IWu.js → p-Dtc-T-TN.js} +1 -1
- package/dist/twilight/{p-Z_ENnsw3.js → p-Pw18qkk5.js} +1 -1
- package/dist/twilight/{p-f8344694.entry.js → p-b4541aa6.entry.js} +1 -1
- package/dist/twilight/{p-d30f0073.entry.js → p-cf4ed212.entry.js} +1 -1
- package/dist/twilight/p-d238cc37.entry.js +4 -0
- package/dist/twilight/{p-9f5a28f6.entry.js → p-df514abf.entry.js} +1 -1
- package/dist/twilight/{p-e7e698ae.entry.js → p-e12614dd.entry.js} +1 -1
- package/dist/twilight/{p-392148e6.entry.js → p-e5ccc45c.entry.js} +1 -1
- package/dist/twilight/{p-43959194.entry.js → p-f2796228.entry.js} +1 -1
- package/dist/twilight/{p-9a5e0b6d.entry.js → p-f8faaabc.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-order-totals-card/interfaces.d.ts +24 -0
- package/dist/types/components/salla-order-totals-card/salla-order-totals-card.d.ts +15 -0
- package/dist/types/components.d.ts +23 -2
- package/package.json +5 -5
- package/dist/twilight/p-Jl-UB-7q.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as e,a as o}from"./p-
|
|
4
|
+
import{r as t,h as e,a as o}from"./p-DhLMCubZ.js";const i=class{constructor(e){t(this,e),this.show=!1,this.targetElement=null}handleMouseOver(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!0)}handleMouseOut(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!1)}componentDidLoad(){this.targetElement=document.getElementById(this.targetId)}render(){return e("div",{key:"46f7eb1a696cc4716525911f374a04bab58c9593",class:"s-tooltip-container"},e("slot",{key:"9e24df4e71a0dac31d5d6b5f9991c14f7e2c6f3c"}),this.show&&e("div",{key:"bc359c1b14e02f1206fe26a62d0cd4ad1b5eb3ed",class:"s-tooltip-item"},this.text))}get el(){return o(this)}};i.style='.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:"";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}';export{i as salla_tooltip}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as s,h as t,H as a,a as i}from"./p-
|
|
4
|
+
import{r as s,h as t,H as a,a as i}from"./p-DhLMCubZ.js";const e=class{constructor(t){s(this,t),this.exclude=[]}componentWillLoad(){return salla.onReady().then((()=>{if("string"==typeof this.exclude)try{this.exclude=JSON.parse(this.exclude)}catch(s){salla.logger.error("salla-payments:: failed to parse the exclude props!",this.exclude),this.exclude=[]}this.placeholderImage=salla.url.cdn("images/s-empty.png"),this.paymentSlot=this.host.querySelector('[slot="payment"]')?.innerHTML||`<li class="s-payments-list-item"><img class="lazy" width="100%" height="100%" src="${this.placeholderImage}" data-src="{image}" alt={payment} /><li>`,this.sbcSlot=this.host.querySelector('[slot="sbc"]')?.innerHTML||`<li class="s-payments-list-item"><a target="_blank" href="{link}"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy s-payments-sbc-image" alt="SBC"/></a><li>`,this.codSlot=this.host.querySelector('[slot="cod"]')?.innerHTML||`<li class="s-payments-list-item"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy" alt="COD"/><li>`,this.payments=salla.config.get("store.settings.payments")}))}render(){const s=!this.exclude.includes("made-in-ksa")&&salla.config.get("store.settings.made_in_ksa"),i=this.exclude.includes("sbc")?null:salla.config.get("store.settings.certificate.id");return t(a,{key:"8276f249b8d93b9bffbe2c41f19c0ae1c9dd38e3",class:"s-payments-list-wrap"},t("ul",{key:"e224c241d5a9a80addf788741b582e5ce50361be",class:"s-payments-list"},s&&t("li",{key:"5402987d68874ad1b51b44fb2ded39f95ab076bc",class:"s-payments-list-item"},t("img",{key:"8d8cb75b6b3b4975e23b4c12586844a1fdd32a5c",class:"lazy",width:"100%",height:"100%",decoding:"async",loading:"lazy","data-src":salla.url.cdn("images/made-in-ksa.svg",58,58),alt:"made in KSA certified"})),this.payments.map((s=>t("div","cod"==s?{id:"cod-slot",innerHTML:this.codSlot.replace(/\{image\}/g,salla.url.cdn("images/payment/cod_mini.png",58,58))}:{id:"payment-slot",innerHTML:this.paymentSlot.replace(/\{image\}/g,salla.url.cdn(`images/payment/${s}_mini.png`,58,58)).replace(/\{payment\}/g,s)}))),i&&t("div",{key:"b4fb77e93619190b04b265198f8ccced369b85e5",id:"sbc-slot",innerHTML:this.sbcSlot.replace(/\{image\}/g,salla.url.cdn("images/sbc.png",58,58)).replace(/\{link\}/g,`https://eauthenticate.saudibusiness.gov.sa/certificate-details/${i}`)})))}componentDidLoad(){document.lazyLoadInstance?.update(this.host.querySelectorAll(".lazy")),this.host.querySelectorAll(".lazy").forEach((s=>{s.addEventListener("load",(()=>{s.setAttribute("width","100%"),s.setAttribute("height","100%")}))}))}componentDidRender(){this.host.querySelectorAll("#payment-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelectorAll("#sbc-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelectorAll("#cod-slot").forEach((s=>s.replaceWith(s.firstChild))),this.host.querySelector('[slot="payment"]')?.remove(),this.host.querySelector('[slot="sbc"]')?.remove(),this.host.querySelector('[slot="cod"]')?.remove()}get host(){return i(this)}};e.style=":host{display:block}";export{e as salla_payments}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./p-
|
|
4
|
+
import{d as e}from"./p-DhLMCubZ.js";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n,i,E={exports:{}},r=n?E.exports:(n=1,E.exports=(i=function(e){var t=e.addFilter,n=e.utils,i=n.Type,E=n.isString,r=n.replaceInString,T=n.guesstimateMimeType,u=n.getExtensionFromFilename,o=n.getFilenameFromURL,_=function(e,t){return e.some((function(e){return/\*$/.test(e)?(n=e,(/^[^/]+/.exec(t)||[]).pop()===n.slice(0,-2)):e===t;var n}))},a=function(e,t,n){if(0===t.length)return!0;var i=function(e){var t="";if(E(e)){var n=o(e),i=u(n);i&&(t=T(i))}else t=e.type;return t}(e);return n?new Promise((function(E,r){n(e,i).then((function(e){_(t,e)?E():r()})).catch(r)})):_(t,i)};return t("SET_ATTRIBUTE_TO_OPTION_MAP",(function(e){return Object.assign(e,{accept:"acceptedFileTypes"})})),t("ALLOW_HOPPER_ITEM",(function(e,t){var n=t.query;return!n("GET_ALLOW_FILE_TYPE_VALIDATION")||a(e,n("GET_ACCEPTED_FILE_TYPES"))})),t("LOAD_FILE",(function(e,t){var n=t.query;return new Promise((function(t,i){if(n("GET_ALLOW_FILE_TYPE_VALIDATION")){var E=n("GET_ACCEPTED_FILE_TYPES"),T=n("GET_FILE_VALIDATE_TYPE_DETECT_TYPE"),u=a(e,E,T),o=function(){var e,t=E.map((e=n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES_MAP"),function(t){return null!==e[t]&&(e[t]||t)})).filter((function(e){return!1!==e})),T=t.filter((function(e,n){return t.indexOf(e)===n}));i({status:{main:n("GET_LABEL_FILE_TYPE_NOT_ALLOWED"),sub:r(n("GET_FILE_VALIDATE_TYPE_LABEL_EXPECTED_TYPES"),{allTypes:T.join(", "),allButLastType:T.slice(0,-1).join(", "),lastType:T[t.length-1]})}})};if("boolean"==typeof u)return u?t(e):o();u.then((function(){t(e)})).catch(o)}else t(e)}))})),{options:{allowFileTypeValidation:[!0,i.BOOLEAN],acceptedFileTypes:[[],i.ARRAY],labelFileTypeNotAllowed:["File is of invalid type",i.STRING],fileValidateTypeLabelExpectedTypes:["Expects {allButLastType} or {lastType}",i.STRING],fileValidateTypeLabelExpectedTypesMap:[{},i.OBJECT],fileValidateTypeDetectType:[null,i.FUNCTION]}}},"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:i})),i)),T=t({__proto__:null,default:e(r)},[r]);
|
|
5
5
|
/*!
|
|
6
6
|
* FilePondPluginFileValidateType 1.2.8
|
|
7
7
|
* Licensed under MIT, https://opensource.org/licenses/MIT/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{d as A}from"./p-
|
|
4
|
+
import{d as A}from"./p-DhLMCubZ.js";function n(A,n){return n.forEach((function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach((function(e){if("default"!==e&&!(e in A)){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(A,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}}))})),Object.freeze(A)}var e,r={exports:{}},i=(e||(e=1,r.exports=function(){var A=65496,n=65505,e=1165519206,r=18761,i=274,t=65280,o=function(A,n){return A.getUint16(n,arguments.length>2&&void 0!==arguments[2]&&arguments[2])},a=function(A,n){return A.getUint32(n,arguments.length>2&&void 0!==arguments[2]&&arguments[2])},u="undefined"!=typeof window&&void 0!==window.document,f=void 0,d=u?new Image:{};d.onload=function(){return f=d.naturalWidth>d.naturalHeight},d.src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=";var c=function(u){var d=u.utils,c=d.Type,v=d.isFile;return(0,u.addFilter)("DID_LOAD_ITEM",(function(u,d){var c=d.query;return new Promise((function(d){var w=u.file;if(!(v(w)&&function(A){return/^image\/jpeg/.test(A.type)}(w)&&c("GET_ALLOW_IMAGE_EXIF_ORIENTATION")&&f))return d(u);(function(u){return new Promise((function(f){var d=new FileReader;d.onload=function(u){var d=new DataView(u.target.result);if(o(d,0)===A){for(var c=d.byteLength,v=2;v<c;){var w=o(d,v);if(v+=2,w===n){if(a(d,v+=2)!==e)break;var g=o(d,v+=6)===r;v+=a(d,v+4,g);var l=o(d,v,g);v+=2;for(var p=0;p<l;p++)if(o(d,v+12*p,g)===i)return void f(o(d,v+12*p+8,g))}else{if((w&t)!==t)break;v+=o(d,v)}}f(-1)}else f(-1)},d.readAsArrayBuffer(u.slice(0,65536))}))})(w).then((function(A){u.setMetadata("exif",{orientation:A}),d(u)}))}))})),{options:{allowImageExifOrientation:[!0,c.BOOLEAN]}}};return"undefined"!=typeof window&&void 0!==window.document&&document.dispatchEvent(new CustomEvent("FilePond:pluginloaded",{detail:c})),c}()),r.exports),t=n({__proto__:null,default:A(i)},[i]);
|
|
5
5
|
/*!
|
|
6
6
|
* FilePondPluginImageExifOrientation 1.0.11
|
|
7
7
|
* Licensed under MIT, https://opensource.org/licenses/MIT/
|