{"version":3,"file":"PDP.js","names":["$","document","ready","productID","productTitle","productIsProtectionPlanID","text","toLowerCase","indexOf","productTitleIsProtectionPlan","prop","find","trigger"],"sources":["PDP.js"],"sourcesContent":["$(document).ready(function() {\n var productID = $('.product-number span.product-id');\n var productTitle = $('h1.product-name');\n if(productID && productTitle){\n var productIsProtectionPlanID = productID.text().toLowerCase().indexOf(\"plan-m\") >= 0;\n var productTitleIsProtectionPlan = productTitle.text().toLowerCase().indexOf(\"protection plan\") >= 0;\n if(productIsProtectionPlanID && productTitleIsProtectionPlan){\n $('#planYears-1 option:eq(2)').prop('selected', true);\n $('#planYears-1')\n .find('option:nth-child(2)')//find One years plan as Default\n .prop('selected',true)//select three years plan\n .trigger('change'); //trigger a change instead of click \n }\n } \n});\n"],"mappings":"AAAAA,EAAEC,UAAUC,OAAM,WACd,IAAIC,EAAYH,EAAE,mCACdI,EAAeJ,EAAE,mBACrB,GAAGG,GAAaC,EAAa,CACzB,IAAIC,EAA4BF,EAAUG,OAAOC,cAAcC,QAAQ,WAAa,EAChFC,EAA+BL,EAAaE,OAAOC,cAAcC,QAAQ,oBAAsB,EAChGH,GAA6BI,IAC5BT,EAAE,6BAA6BU,KAAK,YAAY,GAChDV,EAAE,gBACGW,KAAK,uBACLD,KAAK,YAAW,GAChBE,QAAQ,UAErB,CACJ"}