text: import{Polymer}from"../../../@polymer/polymer/polymer-legacy.js";import{NeonAnimationBehavior}from"../../../@polymer/neon-animation/neon-animation-behavior.js";Polymer({is:"datepicker-slide-from-left-animation",behaviors:[NeonAnimationBehavior],configure:function(config){var node=config.node;return config.transformOrigin?this.setPrefixedProperty(node,"transformOrigin",config.transformOrigin):this.setPrefixedProperty(node,"transformOrigin","0 50%"),this._effect=new KeyframeEffect(node,[{offset:0,transform:"translateX(-100%)",opacity:0},{offset:.5,transform:"translateX(-40%)",opacity:0},{offset:.8,transform:"translateX(-20%)",opacity:.6},{offset:1,transform:"none",opacity:1}],this.timingFromConfig(config)),this._effect}}),Polymer({is:"datepicker-slide-from-right-animation",behaviors:[NeonAnimationBehavior],configure:function(config){var node=config.node;return config.transformOrigin?this.setPrefixedProperty(node,"transformOrigin",config.transformOrigin):this.setPrefixedProperty(node,"transformOrigin","0 50%"),this._effect=new KeyframeEffect(node,[{offset:0,transform:"translateX(100%)",opacity:0},{offset:.5,transform:"translateX(40%)",opacity:0},{offset:.8,transform:"translateX(20%)",opacity:.6},{offset:1,transform:"none",opacity:1}],this.timingFromConfig(config)),this._effect}});