45W Type USB C Charger for Acer Chromebook Plus Spin 11 13 15 CP311 CP315 CP513 CP713:CP311-1H CP311-2H CP311-1H-C1FS 1H-C5PN 1HN-C2DV 2H-C679;CP315-1H 2H-C679 3HT;CB514 CB515 CB514-4HT-375Z

45W Type USB C Charger for Acer Chromebook Plus Spin 11 13 15 CP311 CP315 CP513 CP713:CP311-1H CP311-2H CP311-1H-C1FS 1H-C5PN 1HN-C2DV 2H-C679;CP315-1H 2H-C679 3HT;CB514 CB515 CB514-4HT-375Z

$17.11
const TAG = 'spz-custom-revue-star'; class SPZCustomRevueStar extends SPZ.BaseElement { constructor(element) { super(element); } static deferredMount() { return false; } buildCallback = () => { this.action_ = SPZServices.actionServiceForDoc(this.element); this.templates_ = SPZServices.templatesForDoc(this.element); this.xhr_ = SPZServices.xhrFor(this.win); this.starNum = this.element.getAttribute('starNum'); this.starTotal = this.element.getAttribute('starTotal'); this.showStarText = this.element.getAttribute('showStarText'); this.starColor = this.element.getAttribute('color'); this.interact = this.element.getAttribute('interact'); this.starSize = this.element.getAttribute('starSize') || 14; } mountCallback = () => { this.doRender_({ starTotal: this.starTotal, totalArray: Array.from({ length: Number(this.starTotal) }, (v, k) => k + 1), starNum: this.starNum, showStarText: this.showStarText, starColor: this.starColor, starSize: this.starSize }).then(() => { if (this.interact) { this.addEventListeners_(); } }); } addEventListeners_ = () => { const stars = document.querySelectorAll('.revue-star__star'); stars.forEach(star => { star.addEventListener('click', event => { const starEl = star.closest('.revue-star__star'); const starIndex = Number(starEl.dataset.index); let isHalf = event.offsetX < star.offsetWidth / 2; // rtl if (document.documentElement.getAttribute('dir') === 'rtl') { isHalf = event.offsetX > star.offsetWidth / 2; } const starValue = isHalf ? starIndex - 0.5 : starIndex; this.starClickHandler_({ value: starValue }); }); }); } renderStar = () => { const isRtl = document.documentElement.getAttribute('dir') === 'rtl'; const stars = this.element.querySelectorAll('.revue-star__star'); stars.forEach((star, i) => { const starIndex = i + 1; const starEl = star.querySelector('svg:nth-child(2)'); const isHalf = this.starNum % 1 > 0 && Math.ceil(this.starNum) === starIndex; const isSolid = starIndex <= Math.ceil(this.starNum); starEl.style.display = isSolid ? 'block' : 'none'; if (isHalf) { if (isRtl) { // RTL布局下,如果是半星,显示星星的右半边 starEl.style.clipPath = `polygon(50% 0, 100% 0, 100% 100%, 50% 100%)`; } else { // LTR布局下,如果是半星,显示星星的左半边 starEl.style.clipPath = `polygon(0 0, 50% 0, 50% 100%, 0 100%)`; } } else { starEl.style.clipPath = `polygon(0 0, 100% 0, 100% 100%, 0 100%)` } }); const showCountEle = this.element.querySelector('#revue-star-show-count'); showCountEle && SPZ.whenApiDefined(showCountEle).then((api) => { api.render({ starNum: this.starNum, starTotal: this.starTotal }); }); } doRender_ = (data) => { return this.templates_ .findAndRenderTemplate(this.element, { starSize: this.starSize, ...data }, null) .then((el) => { const children = this.element.querySelector('*:not(template)'); children && SPZCore.Dom.removeElement(children); this.element.appendChild(el); }) .then(() => { this.starNum = data.starNum; this.renderStar(); }); } starClickHandler_ = (event) => { this.starNum = event.value; this.renderStar(); this.triggerEvent_('change', { value: event.value }); } triggerEvent_(name, data) { const event = SPZUtils.Event.create(this.win, `${ TAG }.${ name }`, data || {}); this.action_.trigger(this.element, name, event); } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } } SPZ.defineElement(TAG, SPZCustomRevueStar)
()
try { const productId = window.SHOPLAZZA.meta.page.resource_id; const productType = `default`; const getProductReviews = (star_least) => fetch('/api/comment/count-star-multi', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ product_id: [productId], star_least: star_least || 1, }), }).then(res => res.json()); try { const section = document.querySelector('#revue-product-star'); if(productType === "gift_card" && section) { section.style.display = 'none'; } } catch(e) { console.log(e); window.addEventListener('load', () => { try { const section = document.querySelector('#revue-product-star'); if(productType=== "gift_card" && section) { section.style.display = 'none'; } } catch(e) { console.log(e) } }) } const getReviewsConfig = async () => { let data = {}; const url = new URL(window.location.href); const preview_theme_id = url.searchParams.get('preview_theme_id'); const commentConfig = await fetch('/api/comment-config', { method: 'GET', headers: { 'Content-Type': 'application/json', } }).then(res => res.json()); data = commentConfig.data; const themeConfig = await fetch(`/api/comment-config?theme_id=${preview_theme_id || ''}`, { method: 'GET', headers: { 'Content-Type': 'application/json', } }).then(res => res.json()); if (themeConfig?.data && themeConfig.data.star_color) { data.star_color = themeConfig.data.star_color; } if (preview_theme_id) { data.star_least = window.apps_global && apps_global.reviews && apps_global.reviews.preview_star_least; } else if (themeConfig?.data && themeConfig.data.product_settings) { data.star_least = themeConfig.data.product_settings.star_least; } return data; }; if (productId && window.SHOPLAZZA.meta.page.template_type == 1) { getReviewsConfig().then(async res => { const config = res; let review = await getProductReviews(config.star_least); review = review.data[productId]; if (!config.open_status || (!review.comment_avg_star && !config.show_no_comment_star)) return; const render = async () => { const section = document.querySelector('#revue-product-star'); const starComponent = document.querySelector('#revue-product-star-component'); const count = document.querySelector('#revue-product-star-count'); count.innerText = review.published_count; const api = await SPZ.whenApiDefined(starComponent); api.doRender_({ starNum: review.comment_avg_star, starTotal: 5, showStarText: false, starColor: config.star_color, totalArray: Array.from({ length: 5 }, (v, k) => k + 1) }); section.style.opacity = 1; } render(); document.addEventListener('dj.editor.update', render); }); } } catch (e) {console.warn(e)};
Quantity
Product was out of stock.
Product is unavailable.
Free worldwide shipping

Enjoy free shipping on every order, delivered to your doorstep no matter where you are in the world.

Free returns

Shop with confidence with our hassle-free returns policy, ensuring you love what you buy.

Sustainably made

Designed with the planet in mind, all our products are committed to sustainable practices.

Secure payments

Your payment information is always protected with our advanced, encrypted checkout security.

Description

【Details】Input: AC 100-240V~1.5A 56-60Hz Output:5V 2A/ 12V 3A / 15V 3A;Power: 10W/36W/45W;Plug Size: USB-C tip;Part Number:A16-045N1A A17-120P2A A18-045N1A A045R053L chicony CB514-4HT-375Z CB514-3HT-R8RB 【COMPATIBILITY】compatible with Acer Chromebook Plus Spin 3 11 13 14 15 311 315 515 713 714 513 514 CP311 CP314 CP315 CP513 CP514 CP713 CB311 CB314 CB315 CB514 CB515 CB713 CB714 CB715 SF713 SF714 SP714 CB315-1H CB315-2H CB315-3H CB315-3HT:CB5-312T-K5X4 CP311-1H CP311-1HN CP311-2H 2H-C679 CP311-1H-C1FS 1H-C5PN 1HN-C2DV;CP315-1H 1H-P8QY CB315-1HT-C4RY CP311-2H-C7QD 2H-C7DQ 2H-C3KA ‎CP514 CP514-1H-R4HQ ‎1HH-R0SS 1WH-R8US 2H-5556 CP713-1WN CP713-1WN-37V8 1WN-53NF CB315-1HT-C4RY 1HT-C9UA 3H-C2C3 CP314-1H CP314-1H-P9G7 CP314-1H-P1Q5 A3SP14 A3SP14-31PT A3SP14-31PT-37NV A3SP14-31PT-32M6 compatible with acer Swift Go 14 SFG14 SFG14-71T SFG14-71T-72QV R841T R841T-S4ZG CP311-3H-K3WL
No products viewed