Email: support@onepiecenba.com
🔥UP TO 50%OFF🔥📦Free Shipping Over $49
Hassle-free returns. 30-day postage paid returns
Email: support@onepiecenba.com
Email: support@onepiecenba.com
🔥UP TO 50%OFF🔥📦Free Shipping Over $49
Hassle-free returns. 30-day postage paid returns
Email: support@onepiecenba.com
🔥Limited time offer Only Today!>> Once the Offer Ends, We Will Bring The Price Back Up to The Original Price!
⏰Handling time>> Priority is Given to Delivery After Payment.
🚢Shipping>> We'll Arrange The Fastest Shipping For You. Free Shipping On Orders Over $29
😊95.3% of Customers>> Choose To Buy 3 or More.
Buy More Save More
🔥BUY 2 EXTRA SAVE 5% 🔥
🔥BUY 3 EXTRA SAVE 10% 🔥
🔥BUY 4 EXTRA SAVE 20% 🔥
🎁💐Want to have two pleasures? Give another one to your friends or family.
Kitchen Sewer Cleaning Hook Help you clean the pipe at home to make your life easier.
Features :
Environmentally friendly: No need for chemicals or toxic irritants to clear drain blockages.Application: Widely used for cleaning bathrooms, kitchens, sinks, bathtubs, dredging pipes, sewers and other places that are often blocked.Flexible: This metal cleaning tool is flexible enough to bend like a snake and follow the curves of pipes to get the job done.EASY TO USE: One-piece stainless steel construction with elasticized handle at the end for easy grip and operation. The four telescopic claws on the front of the handle make it easy to grab objects.NOT Easy Drop: The maximum diameter of the four-jaw opening is approximately 5.5 cm. Grab small items easily and hold tightly to prevent hose debris from accidentally falling off during pickup.Specification:
Product category: sewer dredging tools Material: Stainless steel+PP+galvanized+polypropylene 7000F Length: 24"(60CM) / 63"(160CM) Feature: Clean Hook Color: black Application: sewer, toilet, sink, bathtub REMARKS :
🔔Due to different measurement methods, please allow slight errors in product dimensions and weight. 🔔Please allow slight chromatic aberration due to the effects of light and screen. 🔔Note: random color, do not accept the specified color. PACKAGE INCLUDED :
Flexible Sewer Prehensile Claw Pickup Tool
const TAG = 'spz-custom-painter-button-animation';
const MAX_ITERATION_COUNT = 99999999;
const SITE = (window.C_SETTINGS && window.C_SETTINGS.routes && window.C_SETTINGS.routes.root) || '';
const ADD_TO_CART_ANIMATION_SETTING =
`${SITE}/api/marketing_atmosphere_app/add_to_cart_btn_animation/setting`;
class SpzCustomPainterButtonAnimation extends SPZ.BaseElement {
/**@override */
static deferredMount() {
return false;
}
/** @param {!SpzElement} element */
constructor(element) {
super(element);
/** @private {!../../src/service/xhr-impl.Xhr} */
this.xhr_ = SPZServices.xhrFor(this.win);
/** @private {Object} */
this.data_ = null;
/** @private {Element} */
this.addToCartButton_ = null;
/** @private {boolean} */
this.productAvailable_ = true;
/** @private {number} */
this.timerId_ = null;
/** @private {number} */
this.animationExecutionCount_ = 0;
/** @private {boolean} */
this.selectedVariantAvailable_ = true;
/** @private {number} */
this.delay_ = 5000;
/** @private {number} */
this.iterationCount_ = 5;
/** @private {string} */
this.animationClass_ = '';
}
/** @override */
isLayoutSupported(layout) {
return layout == SPZCore.Layout.LOGIC;
}
/** @override */
buildCallback() {
this.productAvailable_ = this.element.hasAttribute('product-available');
this.selectedVariantAvailable_ = this.element.hasAttribute('selected-variant-available');
}
/** @override */
mountCallback() {
this.render_();
}
/** @private */
render_() {
if (!this.productAvailable_) {
return;
}
this.fetch_().then((data) => {
if (!data) {
return;
}
this.data_ = data;
this.animationClass_ = `painter-${data.animation_name}-animation`;
this.iterationCount_ =
data.animation_iteration_count === 'infinite'
? MAX_ITERATION_COUNT
: data.animation_iteration_count;
const animationDuration = 1;
const animationDelay = data.animation_delay || 5;
this.delay_ = (animationDuration + animationDelay) * 1000;
this.handleButtonEffect_();
});
}
/**
* @param {JsonObject} data
* @return {(null|Object)}
* @private
*/
parseJson_(data) {
try {
return JSON.parse(data);
} catch (e) {
return null;
}
}
/**
* @return {Promise}
* @private
*/
fetch_() {
return this.xhr_.fetchJson(ADD_TO_CART_ANIMATION_SETTING).then((data) => {
if (!data || !data.enabled) {
return null;
}
return this.parseJson_(data.detail);
});
}
/** @private */
getAddToCartButton_() {
this.addToCartButton_ = SPZCore.Dom.scopedQuerySelector(
document.body,
'[data-section-type="product"] [role="addToCart"], [data-section-type="product_detail"] [role="addToCart"], [data-section-type="product_detail"] [data-click="addToCart"], [data-section-type="product"] [data-click="addToCart"]'
);
}
/** @private */
restartAnimation_() {
this.addToCartButton_.classList.remove(this.animationClass_);
this.addToCartButton_./* OK */ offsetWidth;
this.addToCartButton_.classList.add(this.animationClass_);
this.animationExecutionCount_++;
}
/** @private */
clearTimer_() {
this.win.clearInterval(this.timerId_);
this.timerId_ = null;
}
/** @private */
setupTimer_() {
this.timerId_ = this.win.setInterval(() => {
this.restartAnimation_();
if (this.animationExecutionCount_ >= this.iterationCount_) {
this.removeAnimationClass_();
this.clearTimer_();
}
}, this.delay_);
}
/** @private */
restartTimer_() {
if (this.animationExecutionCount_ >= this.iterationCount_) {
this.removeAnimationClass_();
return;
}
this.setupTimer_();
}
/** @private */
listenVariantChange_() {
SPZUtils.Event.listen(self.document, 'dj.variantChange', (e) => {
const selectedVariant = e.detail && e.detail.selected;
if (!selectedVariant) {
return;
}
const {available} = selectedVariant;
if (this.selectedVariantAvailable_ !== available) {
this.selectedVariantAvailable_ = available;
this.clearTimer_();
if (available) {
this.restartTimer_();
}
}
});
}
/** @private */
removeAnimationClass_() {
this.win.setTimeout(() => {
this.addToCartButton_.classList.remove(this.animationClass_);
}, 1000);
}
/** @private */
handleButtonEffect_() {
this.getAddToCartButton_();
if (!this.addToCartButton_) {
return;
}
if (this.selectedVariantAvailable_) {
++this.animationExecutionCount_;
this.addToCartButton_.classList.add(this.animationClass_);
if (this.iterationCount_ === 1) {
this.removeAnimationClass_();
return;
}
this.setupTimer_();
}
this.listenVariantChange_();
}
}
SPZ.defineElement(TAG, SpzCustomPainterButtonAnimation);