// source --> https://www.carcloud.com/wp-content/plugins/gravityforms/js/gravityforms.min.js?ver=2.4.23 function gformBindFormatPricingFields(){jQuery(".ginput_amount, .ginput_donation_amount").off("change.gform").on("change.gform",function(){gformFormatPricingField(this)}),jQuery(".ginput_amount, .ginput_donation_amount").each(function(){gformFormatPricingField(this)})}function Currency(e){this.currency=e,this.toNumber=function(e){return this.isNumeric(e)?parseFloat(e):gformCleanNumber(e,this.currency.symbol_right,this.currency.symbol_left,this.currency.decimal_separator)},this.toMoney=function(e,r){if((r=r||!1)||(e=gformCleanNumber(e,this.currency.symbol_right,this.currency.symbol_left,this.currency.decimal_separator)),!1===e)return"";"-"==(e+=negative="")[0]&&(e=parseFloat(e.substr(1)),negative="-"),money=this.numberFormat(e,this.currency.decimals,this.currency.decimal_separator,this.currency.thousand_separator),"0.00"==money&&(negative="");var t=this.currency.symbol_left?this.currency.symbol_left+this.currency.symbol_padding:"",i=this.currency.symbol_right?this.currency.symbol_padding+this.currency.symbol_right:"";return money=negative+this.htmlDecode(t)+money+this.htmlDecode(i),money},this.numberFormat=function(e,r,t,i,n){n=void 0===n||n,e=(e+"").replace(",","").replace(" ","");var a,o,l,f=isFinite(+e)?+e:0,s=isFinite(+r)?Math.abs(r):0,d=void 0===i?",":i,c=void 0===t?".":t,u="";return 3<(u="0"==r?(f+=1e-10,(""+Math.round(f)).split(".")):-1==r?(""+f).split("."):(a=f+=1e-10,o=s,l=Math.pow(10,o),(""+Math.round(a*l)/l).split(".")))[0].length&&(u[0]=u[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,d)),n&&(u[1]||"").length/i,"").replace(o,""),f=gformGetPriceDifference(t,a);f=0==gformToNumber(f)?"":" "+f,e.attr("price",f);var s="option"==e[0].tagName.toLowerCase()?" "+f:""+f+"",d=l+s;return window.gform_format_option_label&&(d=gform_format_option_label(d,l,s,t,a,i,n)),d}function gformGetProductIds(e,r){for(var t=jQuery(r).hasClass(e)?jQuery(r).attr("class").split(" "):jQuery(r).parents("."+e).attr("class").split(" "),i=0;ir?t.text(i.name+" - "+gform_gravityforms.strings.file_exceeds_limit):t.text("")}}function gformInitSpinner(e,r){jQuery("#gform_"+e).submit(function(){gformAddSpinner(e,r)})}function gformAddSpinner(e,r){void 0!==r&&r||(r=gform.applyFilters("gform_spinner_url",gf_global.spinnerUrl,e)),0==jQuery("#gform_ajax_spinner_"+e).length&&gform.applyFilters("gform_spinner_target_elem",jQuery("#gform_submit_button_"+e+", #gform_wrapper_"+e+" .gform_next_button, #gform_send_resume_link_button_"+e),e).after('')}function gf_raw_input_change(e,r){clearTimeout(__gf_keyup_timeout);var t=jQuery(r),i=t.attr("id"),n=gf_get_input_id_by_html_id(i),a=gf_get_form_id_by_html_id(i),o=gform.applyFilters("gform_field_meta_raw_input_change",{fieldId:n,formId:a},t,e);if(n=o.fieldId,a=o.formId,n){var l=t.is(":checkbox")||t.is(":radio")||t.is("select"),f=!l||t.is("textarea");"keyup"==e.type&&!f||"change"==e.type&&!l&&!f||("keyup"==e.type?__gf_keyup_timeout=setTimeout(function(){gf_input_change(r,a,n)},300):gf_input_change(r,a,n))}}function gf_get_input_id_by_html_id(e){var r=gf_get_ids_by_html_id(e),t=r[r.length-1];return 3==r.length&&(r.shift(),t=r.join(".")),t}function gf_get_form_id_by_html_id(e){return gf_get_ids_by_html_id(e)[0]}function gf_get_ids_by_html_id(e){for(var r=e?e.split("_"):[],t=r.length-1;0<=t;t--)gformIsNumber(r[t])||r.splice(t,1);return r}function gf_input_change(e,r,t){gform.doAction("gform_input_change",e,r,t)}function gformExtractFieldId(e){var r=parseInt(e.toString().split(".")[0],10);return r||e}function gformExtractInputIndex(e){var r=parseInt(e.toString().split(".")[1],10);return r||!1}if(!function(h,y){h.uploaders={};var v="undefined"!=typeof gform_gravityforms?gform_gravityforms.strings:{},b="undefined"!=typeof gform_gravityforms?gform_gravityforms.vars.images_url:"";function i(e){var d,i,r=y(e).data("settings"),t=new plupload.Uploader(r);function c(e,r){y("#"+e).prepend("
  • "+F(r)+"
  • ")}function u(e){var r,t,i=parseInt(e.gf_vars.max_files,10);if(0",f=e.settings.multipart_params.form_id,s=e.settings.multipart_params.field_id;l=""+v.delete_file+" "+l,l=gform.applyFilters("gform_file_upload_markup",l,r,e,v,b,i),y("#"+r.id).html(l),100==r.percent&&(i.status&&"ok"==i.status?(n=s,a=i.data,(o=_(n)).unshift(a),function(e,r){var t=g(),i=y("#gform_uploaded_files_"+d),n=p(e);t[n]=r,i.val(y.toJSON(t))}(n,o)):c(e.settings.gf_vars.message_id,v.unknown_error+": "+r.name))}}),t.bind("FilesRemoved",function(e,r){u(e.settings)}),y("#"+r.drop_element).on({dragenter:n,dragover:n})}function F(e){return y("
    ").text(e).html()}y(document).bind("gform_post_render",function(e,r){y("form#gform_"+r+" .gform_fileupload_multifile").each(function(){i(this)});var t=y("form#gform_"+r);0 https://www.carcloud.com/wp-content/plugins/gf-color-picker/js/colorjoe.js?ver=1.1.7 !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.colorjoe=n()}(this,function(){"use strict";function e(e,n){return n={exports:{}},e(n,n.exports),n.exports}function n(e,n,t){var r=document.createElement(e);return r.className=n,t.appendChild(r),r}function t(e){var n=Array.prototype.slice,t=n.apply(arguments,[1]);return function(){return e.apply(null,t.concat(n.apply(arguments)))}}function r(e,n,t,r){var o="colorPickerInput"+Math.floor(1001*Math.random()),u=S(e,t),s=a(n,u,o),f=i("text",u,r,o);return{label:s,input:f}}function a(e,t,r){var a=n("label","",t);return a.innerHTML=e,r&&a.setAttribute("for",r),a}function i(e,t,r,a){var i=n("input","",t);return i.type=e,r&&(i.maxLength=r),a&&i.setAttribute("id",a),r&&(i.maxLength=r),i}function o(e,n){e.style.left=f(100*n,0,100)+"%"}function u(e,n){e.style.top=f(100*n,0,100)+"%"}function s(e,n){e.style.background=n}function f(e,n,t){return Math.min(Math.max(e,n),t)}function l(e){var n=B.div("currentColorContainer",e),t=B.div("currentColor",n);return{change:function(e){B.BG(t,e.cssa())}}}function c(e,n,t){function r(){n.done()}function a(e){e.ctrlKey||e.altKey||!/^[a-zA-Z]$/.test(e.key)||e.preventDefault()}function i(){var e=[o];d.forEach(function(n){e.push(n.e.input.value/u)}),c||e.push(n.getAlpha()),n.set(e)}var o=t.space,u=t.limit||255,s=t.fix>=0?t.fix:0,f=(""+u).length+s;f=s?f+1:f;var l=o.split(""),c="A"==o[o.length-1];if(o=c?o.slice(0,-1):o,["RGB","HSL","HSV","CMYK"].indexOf(o)<0)return console.warn("Invalid field names",o);var h=B.div("colorFields",e),d=l.map(function(e){e=e.toLowerCase();var n=B.labelInput("color "+e,e,h,f);return n.input.onblur=r,n.input.onkeydown=a,n.input.onkeyup=i,{name:e,e:n}});return{change:function(e){d.forEach(function(n){n.e.input.value=(e[n.name]()*u).toFixed(s)})}}}function h(e,n){function t(){n.done()}function r(e){var t=B.clamp(e.y,0,1);B.Y(e.pointer,t),n.setAlpha(1-t)}var a=A.slider({parent:e,"class":"oned alpha",cbs:{begin:r,change:r,end:t}});return{change:function(e){B.Y(a.pointer,1-e.alpha())}}}function d(e,n,t){var r=B.labelInput("hex",t.label||"",e,7);return r.input.value="#",r.input.onkeyup=function(e){var t=e.keyCode||e.which,r=e.target.value;r="#"==r[0]?r:"#"+r,r=g(r,7,"0"),13==t&&n.set(r)},r.input.onblur=function(e){n.set(e.target.value),n.done()},{change:function(e){r.input.value="#"==r.input.value[0]?"#":"",r.input.value+=e.hex().slice(1)}}}function p(e,n,t){var r=B.e("a",t["class"]||"close",e);r.href="#",r.innerHTML=t.label||"Close",r.onclick=function(e){e.preventDefault(),n.hide()}}function g(e,n,t){for(var r=e,a=e.length;a1?e[1]:{}):(a=e,i={});var u=a in G.extras?G.extras[a]:null;if(u){r=u(o,_(n,a+t),i);for(var s in r)n.on(s,r[s],a)}})}}function _(e,n){var t=w(e);return t.update=function(){e.update([n])},t}function w(e){var n={};for(var t in e)n[t]=e[t];return n}function x(e,n){return n.map(e).filter(L).length==n.length}function k(e){return"[object Array]"===Object.prototype.toString.call(e)}function M(e){return"string"==typeof e}function C(e){return"undefined"!=typeof e}function N(e){return"function"==typeof e}function L(e){return e}var E="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},A=e(function(e,n){!function(n,t){e.exports=t()}(E,function(){var e=function(){function e(e,n){return e?(o(e,n,"touchstart","touchmove","touchend"),void o(e,n,"mousedown","mousemove","mouseup")):void console.warn("drag is missing elem!")}function n(n){var t=a(n["class"]||"",n.parent),i=a("pointer",t);return a("shape shape1",i),a("shape shape2",i),a("bg bg1",t),a("bg bg2",t),e(t,r(n.cbs,i)),{background:t,pointer:i}}function t(n){var t=a(n["class"],n.parent),i=a("pointer",t);return a("shape",i),a("bg",t),e(t,r(n.cbs,i)),{background:t,pointer:i}}function r(e,n){function t(e){return function(t){t.pointer=n,e(t)}}var r={};for(var a in e)r[a]=t(e[a]);return r}function a(e,n){return i("div",e,n)}function i(e,n,t){var r=document.createElement(e);return n&&(r.className=n),t.appendChild(r),r}function o(e,n,t,r,a){n=f(n);var i=n.begin,o=n.change,l=n.end;u(e,t,function(n){function t(){s(document,r,f),s(document,a,t),h(l,e,n)}var f=d(h,o,e);u(document,r,f),u(document,a,t),h(i,e,n)})}function u(e,n,t){var r=!1;try{var a=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("testPassive",null,a),window.removeEventListener("testPassive",null,a)}catch(i){}e.addEventListener(n,t,!!r&&{passive:!1})}function s(e,n,t){e.removeEventListener(n,t,!1)}function f(e){if(e)return{begin:e.begin||c,change:e.change||c,end:e.end||c};var n,t;return{begin:function(e){n={x:e.elem.offsetLeft,y:e.elem.offsetTop},t=e.cursor},change:function(e){l(e.elem,"left",n.x+e.cursor.x-t.x+"px"),l(e.elem,"top",n.y+e.cursor.y-t.y+"px")},end:c}}function l(e,n,t){e.style[n]=t}function c(){}function h(e,n,t){t.preventDefault();var r=p(n),a=n.clientWidth,i=n.clientHeight,o={x:g(n,t),y:b(n,t)},u=(o.x-r.x)/a,s=(o.y-r.y)/i;e({x:isNaN(u)?0:u,y:isNaN(s)?0:s,cursor:o,elem:n,e:t})}function d(e){var n=Array.prototype.slice,t=n.apply(arguments,[1]);return function(){return e.apply(null,t.concat(n.apply(arguments)))}}function p(e){var n=e.getBoundingClientRect();return{x:n.left,y:n.top}}function g(e,n){var t=n.touches?n.touches[n.touches.length-1]:n;return t.clientX}function b(e,n){var t=n.touches?n.touches[n.touches.length-1]:n;return t.clientY}return e.xyslider=n,e.slider=t,e}();return e})}),R=e(function(e,n){!function(n,t){e.exports=t()}(E,function(){function e(n){if(Array.isArray(n)){if("string"==typeof n[0]&&"function"==typeof e[n[0]])return new e[n[0]](n.slice(1,n.length));if(4===n.length)return new e.RGB(n[0]/255,n[1]/255,n[2]/255,n[3]/255)}else if("string"==typeof n){var r=n.toLowerCase();e.namedColors[r]&&(n="#"+e.namedColors[r]),"transparent"===r&&(n="rgba(0,0,0,0)");var o=n.match(i);if(o){var u=o[1].toUpperCase(),s=t(o[8])?o[8]:parseFloat(o[8]),f="H"===u[0],l=o[3]?100:f?360:255,c=o[5]||f?100:255,h=o[7]||f?100:255;if(t(e[u]))throw new Error("color."+u+" is not installed.");return new e[u](parseFloat(o[2])/l,parseFloat(o[4])/c,parseFloat(o[6])/h,s)}n.length<6&&(n=n.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var d=n.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(d)return new e.RGB(parseInt(d[1],16)/255,parseInt(d[2],16)/255,parseInt(d[3],16)/255);if(e.CMYK){var p=n.match(new RegExp("^cmyk\\("+a.source+","+a.source+","+a.source+","+a.source+"\\)$","i"));if(p)return new e.CMYK(parseFloat(p[1])/100,parseFloat(p[2])/100,parseFloat(p[3])/100,parseFloat(p[4])/100)}}else if("object"==typeof n&&n.isColor)return n;return!1}var n=[],t=function(e){return void 0===e},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,a=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,i=new RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");e.namedColors={},e.installColorSpace=function(r,a,i){function o(n,t){var r={};r[t.toLowerCase()]=function(){return this.rgb()[t.toLowerCase()]()},e[t].propertyNames.forEach(function(e){var n="black"===e?"k":e.charAt(0);r[e]=r[n]=function(n,r){return this[t.toLowerCase()]()[e](n,r)}});for(var a in r)r.hasOwnProperty(a)&&void 0===e[n].prototype[a]&&(e[n].prototype[a]=r[a])}e[r]=function(e){var n=Array.isArray(e)?e:arguments;a.forEach(function(e,t){var i=n[t];if("alpha"===e)this._alpha=isNaN(i)||i>1?1:i<0?0:i;else{if(isNaN(i))throw new Error("["+r+"]: Invalid color: ("+a.join(",")+")");"hue"===e?this._hue=i<0?i-Math.floor(i):i%1:this["_"+e]=i<0?0:i>1?1:i}},this)},e[r].propertyNames=a;var u=e[r].prototype;["valueOf","hex","hexa","css","cssa"].forEach(function(e){u[e]=u[e]||("RGB"===r?u.hex:function(){return this.rgb()[e]()})}),u.isColor=!0,u.equals=function(e,n){t(n)&&(n=1e-10),e=e[r.toLowerCase()]();for(var i=0;in)return!1;return!0},u.toJSON=function(){return[r].concat(a.map(function(e){return this["_"+e]},this))};for(var s in i)if(i.hasOwnProperty(s)){var f=s.match(/^from(.*)$/);f?e[f[1].toUpperCase()].prototype[r.toLowerCase()]=i[s]:u[s]=i[s]}return u[r.toLowerCase()]=function(){return this},u.toString=function(){return"["+r+" "+a.map(function(e){return this["_"+e]},this).join(", ")+"]"},a.forEach(function(e){var n="black"===e?"k":e.charAt(0);u[e]=u[n]=function(n,t){return void 0===n?this["_"+e]:t?new this.constructor(a.map(function(t){return this["_"+t]+(e===t?n:0)},this)):new this.constructor(a.map(function(t){return e===t?n:this["_"+t]},this))}}),n.forEach(function(e){o(r,e),o(e,r)}),n.push(r),e},e.pluginList=[],e.use=function(n){return-1===e.pluginList.indexOf(n)&&(this.pluginList.push(n),n(e)),e},e.installMethod=function(t,r){return n.forEach(function(n){e[n].prototype[t]=r}),this},e.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var e=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-e.length)+e},hexa:function(){var e=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-e.length)+e+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}});var o=e,u=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var n=function(e){return e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92},t=n(this._red),r=n(this._green),a=n(this._blue);return new e.XYZ(.4124564*t+.3575761*r+.1804375*a,.2126729*t+.7151522*r+.072175*a,.0193339*t+.119192*r+.9503041*a,this._alpha)},rgb:function(){var n=this._x,t=this._y,r=this._z,a=function(e){return e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e};return new e.RGB(a(3.2404542*n+-1.5371385*t+-.4985314*r),a(-.969266*n+1.8760108*t+.041556*r),a(.0556434*n+-.2040259*t+1.0572252*r),this._alpha)},lab:function(){var n=function(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29},t=n(this._x/95.047),r=n(this._y/100),a=n(this._z/108.883);return new e.LAB(116*r-16,500*(t-r),200*(r-a),this._alpha)}})},s=function(e){e.use(u),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var n=function(e){var n=Math.pow(e,3);return n>.008856?n:(e-16/116)/7.87},t=(this._l+16)/116,r=this._a/500+t,a=t-this._b/200;return new e.XYZ(95.047*n(r),100*n(t),108.883*n(a),this._alpha)}})},f=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var n,t,r,a=this._hue,i=this._saturation,o=this._value,u=Math.min(5,Math.floor(6*a)),s=6*a-u,f=o*(1-i),l=o*(1-s*i),c=o*(1-(1-s)*i);switch(u){case 0:n=o,t=c,r=f;break;case 1:n=l,t=o,r=f;break;case 2:n=f,t=o,r=c;break;case 3:n=f,t=l,r=o;break;case 4:n=c,t=f,r=o;break;case 5:n=o,t=f,r=l}return new e.RGB(n,t,r,this._alpha)},hsl:function(){var n,t=(2-this._saturation)*this._value,r=this._saturation*this._value,a=t<=1?t:2-t;return n=a<1e-9?0:r/a,new e.HSL(this._hue,n,t/2,this._alpha)},fromRgb:function(){var n,t=this._red,r=this._green,a=this._blue,i=Math.max(t,r,a),o=Math.min(t,r,a),u=i-o,s=0===i?0:u/i,f=i;if(0===u)n=0;else switch(i){case t:n=(r-a)/u/6+(rt[e]?r[e]=(n[e]-t[e])/(1-t[e]):n[e]>t[e]?r[e]=(t[e]-n[e])/t[e]:r[e]=0}),r._red>r._green?r._red>r._blue?n._alpha=r._red:n._alpha=r._blue:r._green>r._blue?n._alpha=r._green:n._alpha=r._blue,n._alpha<1e-10?n:(a.forEach(function(e){n[e]=(n[e]-t[e])/n._alpha+t[e]}),n._alpha*=r._alpha,n)})};return o.use(u).use(s).use(f).use(l).use(c).use(h).use(d).use(p).use(g).use(b).use(v).use(y).use(m).use(_).use(w).use(x).use(k)})}),S=t(n,"div"),B={clamp:f,e:n,div:S,partial:t,labelInput:r,X:o,Y:u,BG:s},Y={currentColor:l,fields:c,hex:d,alpha:h,close:p},G=function(e){return x(N,[e.init,e.xy,e.z])?function(n,t,r){return v({e:n,color:t,cbs:e,extras:r})}:console.warn("colorjoe: missing cb")};G.rgb=G({init:function(e,n,t){var r=R(e).hsv();return this.xy(r,{x:r.saturation(),y:1-r.value()},n,t),this.z(r,r.hue(),n,t),r},xy:function(e,n,t){return B.X(t.pointer,n.x),B.Y(t.pointer,n.y),e.saturation(n.x).value(1-n.y)},z:function(e,n,t,r){return B.Y(r.pointer,n),b(t.background,n),e.hue(n)}}),G.hsl=G({init:function(e,n,t){var r=R(e).hsl();return this.xy(r,{x:r.hue(),y:1-r.saturation()},n,t),this.z(r,1-r.lightness(),n,t),r},xy:function(e,n,t,r){return B.X(t.pointer,n.x),B.Y(t.pointer,n.y),b(r.background,n.x),e.hue(n.x).saturation(1-n.y)},z:function(e,n,t,r){return B.Y(r.pointer,n),e.lightness(1-n)}}),G.extras={},G.registerExtra=function(e,n){e in G.extras&&console.warn('Extra "'+e+'"has been registered already!'),G.extras[e]=n};for(var z in Y)G.registerExtra(z,Y[z]);var j=G;return j});