text: "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconBox=exports.BackTopContent=exports.BackTop=exports.IconWrap=void 0;var _templateObject=_taggedTemplateLiteral(["\n    from {\n      opacity: 0;\n    }\n    to {\n      opacity: 1;\n    }\n  "],["\n    from {\n      opacity: 0;\n    }\n    to {\n      opacity: 1;\n    }\n  "]),_templateObject2=_taggedTemplateLiteral(["\n      position: fixed;\n      animation: "," 0.4s;\n    "],["\n      position: fixed;\n      animation: "," 0.4s;\n    "]),_templateObject3=_taggedTemplateLiteral(["\n  vertical-align: bottom !important;\n"],["\n  vertical-align: bottom !important;\n"]),_templateObject4=_taggedTemplateLiteral(["\n    border: 1px solid #e8e8e8;\n    text-align: center;\n    overflow: hidden;\n    box-shadow: 0 0 "," #e8e8e8;\n  "],["\n    border: 1px solid #e8e8e8;\n    text-align: center;\n    overflow: hidden;\n    box-shadow: 0 0 "," #e8e8e8;\n  "]),_templateObject5=_taggedTemplateLiteral(["\n    font-size: ","rem;\n    ",";\n    ",";\n    cursor: pointer;\n  "],["\n    font-size: ","rem;\n    ",";\n    ",";\n    cursor: pointer;\n  "]),_templateObject6=_taggedTemplateLiteral(["\n    position: relative;\n  "],["\n    position: relative;\n  "]),_templateObject7=_taggedTemplateLiteral(["\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  "],["\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  "]),_styledComponents=require("styled-components"),_styledComponents2=_interopRequireDefault(_styledComponents),_themeUtils=require("@lugia/theme-utils"),_units=require("./units"),_icon=require("../icon"),_icon2=_interopRequireDefault(_icon),_themeCssHoc=require("@lugia/theme-css-hoc"),_themeCssHoc2=_interopRequireDefault(_themeCssHoc),_CSSProvider=require("../theme/CSSProvider");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _taggedTemplateLiteral(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var FontSize=1.2,em=_units.px2remcss,getFixedCSS=function(e){var t=(0,_styledComponents.keyframes)(_templateObject);if(e.fixed)return(0,_styledComponents.css)(_templateObject2,t)},getLeftOrRight=function(e){var t=e.hasTarget,o=e.posRight,n=e.posBottom;return t?"left: "+em(o)+";top: "+em(n):"right: "+em(o)+";bottom: "+em(n)},IconWrap=exports.IconWrap=(0,_styledComponents2.default)(_icon2.default)(_templateObject3),CommonBackTopStyle=(0,_themeCssHoc2.default)({tag:"div",className:"CommonBackTopStyle",css:(0,_styledComponents.css)(_templateObject4,em(4))}),BackTop=exports.BackTop=(0,_themeCssHoc.StaticComponent)({tag:"div",className:"BackTop",css:(0,_styledComponents.css)(_templateObject5,FontSize,getFixedCSS,getLeftOrRight)}),BackTopContent=exports.BackTopContent=(0,_themeCssHoc2.default)({extend:CommonBackTopStyle,className:"BackTopContent",css:(0,_styledComponents.css)(_templateObject6),normal:{selectNames:[["background"],["color"],["width"],["height"],["opacity"],["border"],["borderRadius"]],defaultTheme:{background:{color:"$lugia-dict.@lugia/lugia-web.defaultColor"},color:"$lugia-dict.@lugia/lugia-web.themeColor",width:40,height:40,opacity:1,border:(0,_themeUtils.getBorder)({color:"#e8e8e8",width:1,style:"solid"}),borderRadius:(0,_CSSProvider.getBorderRadius)(40)}}}),IconBox=exports.IconBox=(0,_themeCssHoc2.default)({tag:"span",className:"BackTopIconBox",normal:{selectNames:[["color"]]},css:(0,_styledComponents.css)(_templateObject7)});