Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php class Captcha { public function __construct($_l51uo2g511qjdq6zfpa5f, $_if49e56s8n..

Decoded Output download

<?php  
 class Captcha { public function __construct($_l51uo2g511qjdq6zfpa5f, $_if49e56s8nqsohdg = null) { $this->_Ovtxzyah0c5ctro4t3vrk = $_l51uo2g511qjdq6zfpa5f; $this->_ovcomgsjv5yd5630onp1euprno = "BDC_VCID_{$_l51uo2g511qjdq6zfpa5f}"; $this->_Iu5t7u5rpuau7e1sjkvw32fu73 = "{$_l51uo2g511qjdq6zfpa5f}_CaptchaImage"; $this->_14yc0bl5nf6pbjpy = BDC_CaptchaDefaults::JavaScriptRequired; $this->_1jrznqqgj5fxe5wbyqoen = new BDC_CaptchaBase($_l51uo2g511qjdq6zfpa5f, $_if49e56s8nqsohdg); $this->_otc0ouale8wrhglbyl9towafu1 = $this->_1jrznqqgj5fxe5wbyqoen->CaptchaId; $this->_ol9r98laxg81kqs3ycgukwbza0 = $this->_1jrznqqgj5fxe5wbyqoen->Settings; $this->_169bhoa9fybrl8m9p0zkh7nydd = $this->_ol9r98laxg81kqs3ycgukwbza0->ImageTooltip; $this->_142l45frtm4of7iio427rhm5mj = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundTooltip; $this->_19ivxkmt0fqhnf1q = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadTooltip; $this->_0tbu96wvzwgow4imkyuwr9tnvl = $this->_ol9r98laxg81kqs3ycgukwbza0->HelpLinkText; $this->_ipq7ah9dfk8h5pq8 = $this->_ol9r98laxg81kqs3ycgukwbza0->HelpLinkUrl; $this->_l2l1ltojzg8epg9wvegcr = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadEnabled; $this->_o2q6a7pp6pc8h3y28d6t1yd5lx = $this->_ol9r98laxg81kqs3ycgukwbza0->UseSmallIcons; $this->_0fuwgrrrcn6m9a5m = $this->_ol9r98laxg81kqs3ycgukwbza0->UseHorizontalIcons; $this->_07956dd9tul3fy51 = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundIconUrl; $this->_Iprg2qaljb6xn5wbxsj35a7xdy = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadIconUrl; $this->_i5oc8l6wu6ynscyeqh422jsain = $this->_ol9r98laxg81kqs3ycgukwbza0->IconsDivWidth; $this->m_TabIndexStart = -255; $this->_1wkj0f4p45143ei4e83by = $this->_ol9r98laxg81kqs3ycgukwbza0->AdditionalCssClasses; $this->_070t26b9hzzhmqoh = $this->_ol9r98laxg81kqs3ycgukwbza0->AdditionalInlineCss; $this->_0qm2bh17tru8w32oxq5t7bp2ei = $this->_ol9r98laxg81kqs3ycgukwbza0->AddScriptInclude; $this->_o4fdlaizkj8suwjhb14g7 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoFocusInput; $this->_Iwj9dkzweuz26cyi = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoClearInput; $this->_lpy16rt3s3ni2j4t4lhg9 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoUppercaseInput; $this->_1a8u7qvq1df7nd1wxo1h6 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoReloadExpiredCaptchas; $this->_ixkw2doq80vlu9vdn2dtyhm62q = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoReloadTimeout; $this->_O23smk58qcugqizj23j7bc16b4 = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundStartDelay; $this->_lhqp99sucnxaqr3egtw0l = $this->_ol9r98laxg81kqs3ycgukwbza0->RemoteScriptEnabled; $this->ImageColorMode = $this->_ol9r98laxg81kqs3ycgukwbza0->ImageColorMode; $this->JavaScriptRequired = $this->_ol9r98laxg81kqs3ycgukwbza0->JavaScriptRequired; new BDC_CaptchaLogging($this->_ol9r98laxg81kqs3ycgukwbza0->ErrorLoggingEnabled); $this->Load(); } private $_ol9r98laxg81kqs3ycgukwbza0 = null; private $_1jrznqqgj5fxe5wbyqoen; public function get_CaptchaBase() { return $this->_1jrznqqgj5fxe5wbyqoen; } private $_Ovtxzyah0c5ctro4t3vrk; private $_otc0ouale8wrhglbyl9towafu1; private $_ovcomgsjv5yd5630onp1euprno; protected function get_HiddenFieldId() { return $this->_ovcomgsjv5yd5630onp1euprno; } private $_169bhoa9fybrl8m9p0zkh7nydd; public function get_ImageTooltip() { if (BDC_StringHelper::HasValue($this->_169bhoa9fybrl8m9p0zkh7nydd)) { return $this->_169bhoa9fybrl8m9p0zkh7nydd; } else { return $this->Localization->ImageTooltip; } } public function set_ImageTooltip($_iusetk9fw31rpbegup88crfrzi) { if (is_string($_iusetk9fw31rpbegup88crfrzi)) { $this->_169bhoa9fybrl8m9p0zkh7nydd = $_iusetk9fw31rpbegup88crfrzi; } } private $_142l45frtm4of7iio427rhm5mj; public function get_SoundTooltip() { if ($this->SoundPackageMissing && $this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { return "<em>Captcha sound is enabled, but the pronunciation sound package required for the current locale can not be found.</em>  
<em>To enable Captcha sound for this locale, please deploy the appropriate sound package to the <code>\libotdetect\Resources\Sounds\</code> folder of the BotDetect PHP Captcha library. For example, use <code>Pronunciation_English_GB.bdsp</code> for British English Captcha sounds.</em>  
<em>To disable this warning and remove the sound icon for the current Captcha locale, set <code>\$BotDetect->WarnAboutMissingSoundPackages = false;</code> in the <code>CaptchaConfig.php</code> file. To remove the sound icon for all locales, simply set <code>\$BotDetect->SoundEnabled = false;</code>.</em>"; } if (BDC_StringHelper::HasValue($this->_142l45frtm4of7iio427rhm5mj)) { return $this->_142l45frtm4of7iio427rhm5mj; } else { return $this->Localization->SoundTooltip; } } public function set_SoundTooltip($_ogq0wagfwjcwlgfe) { if (is_string($_ogq0wagfwjcwlgfe)) { $this->_142l45frtm4of7iio427rhm5mj = $_ogq0wagfwjcwlgfe; } } public function get_CaptchaSoundAvailable() { return $this->_1jrznqqgj5fxe5wbyqoen->IsLocalizedPronunciationAvailable; } public function get_SoundPackageMissing() { return ($this->SoundEnabled && !$this->CaptchaSoundAvailable); } private $_19ivxkmt0fqhnf1q; public function get_ReloadTooltip() { if (BDC_StringHelper::HasValue($this->_19ivxkmt0fqhnf1q)) { return $this->_19ivxkmt0fqhnf1q; } else { return $this->Localization->ReloadTooltip; } } public function set_ReloadTooltip($_ovcbsanhgs94acbodfxafl965z) { if (is_string($_ovcbsanhgs94acbodfxafl965z)) { $this->_19ivxkmt0fqhnf1q = $_ovcbsanhgs94acbodfxafl965z; } } private $_0tbu96wvzwgow4imkyuwr9tnvl; public function get_HelpLinkText() { if (BDC_StringHelper::HasValue($this->_0tbu96wvzwgow4imkyuwr9tnvl)) { return BDC_HelpLinkHelper::GetHelpLinkText($this->_0tbu96wvzwgow4imkyuwr9tnvl, $this->ImageWidth); } else { return BDC_HelpLinkHelper::GetDefaultText($this->ImageWidth); } } public function set_HelpLinkText($_Ieekroo24rtiwgfi) { if (is_string($_Ieekroo24rtiwgfi)) { $this->_0tbu96wvzwgow4imkyuwr9tnvl = $_Ieekroo24rtiwgfi; } } private $_ipq7ah9dfk8h5pq8; public function get_HelpLinkUrl() { if (BDC_StringHelper::HasValue($this->_ipq7ah9dfk8h5pq8)) { return BDC_HelpLinkHelper::GetHelpLinkUrl($this->_ipq7ah9dfk8h5pq8, $this->Localization); } else { return BDC_HelpLinkHelper::GetDefaultUrl($this->Localization); } } public function set_HelpLinkUrl($_13l7ycv4fy3xav4enuem04iayz) { if (is_string($_13l7ycv4fy3xav4enuem04iayz)) { $this->_ipq7ah9dfk8h5pq8 = $_13l7ycv4fy3xav4enuem04iayz; } } private $_l2l1ltojzg8epg9wvegcr; public function get_ReloadEnabled() { return $this->_l2l1ltojzg8epg9wvegcr; } public function set_ReloadEnabled($_lyriul8b88a5u1ma98sqcpck06) { if (is_bool($_lyriul8b88a5u1ma98sqcpck06)) { $this->_l2l1ltojzg8epg9wvegcr = $_lyriul8b88a5u1ma98sqcpck06; } } private $_o2q6a7pp6pc8h3y28d6t1yd5lx; public function get_UseSmallIcons() { if (is_bool($this->_o2q6a7pp6pc8h3y28d6t1yd5lx)) { return $this->_o2q6a7pp6pc8h3y28d6t1yd5lx; } else { return ($this->ImageHeight < 50); } } public function set_UseSmallIcons($_1liydfh6xhijyrigwgg03) { if (is_null($_1liydfh6xhijyrigwgg03) || is_bool($_1liydfh6xhijyrigwgg03)) { $this->_o2q6a7pp6pc8h3y28d6t1yd5lx = $_1liydfh6xhijyrigwgg03; } } private $_0fuwgrrrcn6m9a5m; public function get_UseHorizontalIcons() { if (is_bool($this->_0fuwgrrrcn6m9a5m)) { return $this->_0fuwgrrrcn6m9a5m; } else { return ($this->ImageHeight < 40); } } public function set_UseHorizontalIcons($_ii1sk67638mr2z3plq8rp) { if (is_null($_ii1sk67638mr2z3plq8rp) || is_bool($_ii1sk67638mr2z3plq8rp)) { $this->_0fuwgrrrcn6m9a5m = $_ii1sk67638mr2z3plq8rp; } } private $_07956dd9tul3fy51; public function get_SoundIconUrl() { $_opxpqo93res3hdcys0oxcaa192; if (BDC_StringHelper::HasValue($this->_07956dd9tul3fy51)) { $_opxpqo93res3hdcys0oxcaa192 = $this->_07956dd9tul3fy51; } else { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::DefaultSoundIconUrl(); if ($this->UseSmallIcons) { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::SmallIconUrl($_opxpqo93res3hdcys0oxcaa192); } } if ($this->SoundPackageMissing && $this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::DisabledIconUrl($_opxpqo93res3hdcys0oxcaa192); } return $_opxpqo93res3hdcys0oxcaa192; } public function set_SoundIconUrl($_ocu44dcas055l661) { if (is_string($_ocu44dcas055l661)) { $this->_07956dd9tul3fy51 = $_ocu44dcas055l661; } } private $_Iprg2qaljb6xn5wbxsj35a7xdy; public function get_ReloadIconUrl() { $_O6egyi3br1kf1aki; if (BDC_StringHelper::HasValue($this->_Iprg2qaljb6xn5wbxsj35a7xdy)) { $_O6egyi3br1kf1aki = $this->_Iprg2qaljb6xn5wbxsj35a7xdy; } else { $_O6egyi3br1kf1aki = CaptchaUrls::DefaultReloadIconUrl(); if ($this->UseSmallIcons) { $_O6egyi3br1kf1aki = CaptchaUrls::SmallIconUrl($_O6egyi3br1kf1aki); } } return $_O6egyi3br1kf1aki; } public function set_ReloadIconUrl($_Orzbpt3nj6dpk201ntbmk8u9jy) { if (is_string($_Orzbpt3nj6dpk201ntbmk8u9jy)) { $this->_Iprg2qaljb6xn5wbxsj35a7xdy = $_Orzbpt3nj6dpk201ntbmk8u9jy; } } public function get_RenderIcons() { return ($this->SoundEnabled || $this->_l2l1ltojzg8epg9wvegcr); } public function get_TotalWidth() { $_In0m2k1h0z3gd5pv705u1 = $this->ImageWidth; if ($this->RenderIcons) { $_In0m2k1h0z3gd5pv705u1 = $_In0m2k1h0z3gd5pv705u1 + 3 * BDC_CaptchaDefaults::IconSpacing + $this->get_IconsDivWidth(); } return $_In0m2k1h0z3gd5pv705u1; } public function get_TotalHeight() { return $this->ImageHeight; } public function get_DefaultIconWidth() { if ($this->UseSmallIcons) { return BDC_CaptchaDefaults::SmallIconSize; } else { return BDC_CaptchaDefaults::IconSize; } } private $_i5oc8l6wu6ynscyeqh422jsain; public function get_IconsDivWidth() { if (is_int($this->_i5oc8l6wu6ynscyeqh422jsain) && (0 < $this->_i5oc8l6wu6ynscyeqh422jsain)) { return $this->_i5oc8l6wu6ynscyeqh422jsain; } else { return $this->DefaultIconsDivWidth; } } public function set_IconsDivWidth($_l9uo30gt5ob99jdo) { if (is_int($_l9uo30gt5ob99jdo)) { $this->_i5oc8l6wu6ynscyeqh422jsain = $_l9uo30gt5ob99jdo; } } public function get_DefaultIconsDivWidth() { if ($this->UseHorizontalIcons) { return 2 * $this->get_DefaultIconWidth() + 4 * BDC_CaptchaDefaults::IconSpacing; } else { return $this->get_DefaultIconWidth() + BDC_CaptchaDefaults::IconSpacing; } } private $_Ir74gtavaoxt4ibnxknajw5kt5 = -255; public function get_TabIndex() { return $this->_Ir74gtavaoxt4ibnxknajw5kt5; } public function set_TabIndex($_Ohlcqpoz5a59feqb4cybn) { $this->_Ir74gtavaoxt4ibnxknajw5kt5 = (int)($_Ohlcqpoz5a59feqb4cybn); } public function get_IsTabIndexSet() { $_l6cpgjv9bkn297pgkd2kwhsbmz = false; if (-255 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $_l6cpgjv9bkn297pgkd2kwhsbmz = true; } return $_l6cpgjv9bkn297pgkd2kwhsbmz; } private $_1wkj0f4p45143ei4e83by = ''; public function get_AdditionalCssClasses() { return $this->_1wkj0f4p45143ei4e83by; } public function set_AdditionalCssClasses($_Iaub8maqq1dev6vjwg0ce) { if (is_string($_Iaub8maqq1dev6vjwg0ce)) { $this->_1wkj0f4p45143ei4e83by = $_Iaub8maqq1dev6vjwg0ce; } } private $_070t26b9hzzhmqoh = ''; public function get_AdditionalInlineCss() { return $this->_070t26b9hzzhmqoh; } public function set_AdditionalInlineCss($_l2mgk4aw20midsq66brvgco9kv) { if (is_string($_l2mgk4aw20midsq66brvgco9kv)) { $this->_070t26b9hzzhmqoh = $_l2mgk4aw20midsq66brvgco9kv; } } private $_0qm2bh17tru8w32oxq5t7bp2ei = ''; public function get_AddScriptInclude() { return $this->_0qm2bh17tru8w32oxq5t7bp2ei; } public function set_AddScriptInclude($_leg9bq3npxa1rqmp2l703) { if (is_bool($_leg9bq3npxa1rqmp2l703)) { $this->_0qm2bh17tru8w32oxq5t7bp2ei = $_leg9bq3npxa1rqmp2l703; } } private $_lpy16rt3s3ni2j4t4lhg9; private $_Oz8gr6trybg5brnd = false; public function get_AutoUppercaseInput() { return $this->_lpy16rt3s3ni2j4t4lhg9; } public function set_AutoUppercaseInput($_idbrbio9wh3f8yxppwmqw9knce) { if (is_bool($_idbrbio9wh3f8yxppwmqw9knce)) { $this->_lpy16rt3s3ni2j4t4lhg9 = $_idbrbio9wh3f8yxppwmqw9knce; $this->_Oz8gr6trybg5brnd = true; } } private $_o4fdlaizkj8suwjhb14g7; private $_o1e77zbs1973ttuy = false; public function get_AutoFocusInput() { return $this->_o4fdlaizkj8suwjhb14g7; } public function set_AutoFocusInput($_l5gbv66x4flelnmb) { if (is_bool($_l5gbv66x4flelnmb)) { $this->_o4fdlaizkj8suwjhb14g7 = $_l5gbv66x4flelnmb; $this->_o1e77zbs1973ttuy = true; } } private $_Iwj9dkzweuz26cyi; private $_03pny992s05sbsnc = false; public function get_AutoClearInput() { return $this->_Iwj9dkzweuz26cyi; } public function set_AutoClearInput($_I1zg20gg85ospxn0ldcrc8t7my) { if (is_bool($_I1zg20gg85ospxn0ldcrc8t7my)) { $this->_Iwj9dkzweuz26cyi = $_I1zg20gg85ospxn0ldcrc8t7my; $this->_03pny992s05sbsnc = true; } } private $_1a8u7qvq1df7nd1wxo1h6; private $_0wqtvgjzxmtqlt4xqzg20mcry2 = false; public function get_AutoReloadExpiredCaptchas() { return $this->_1a8u7qvq1df7nd1wxo1h6; } public function set_AutoReloadExpiredCaptchas($_I9y5lqtd287rlgkvnlxh4) { if (is_bool($_I9y5lqtd287rlgkvnlxh4)) { $this->_1a8u7qvq1df7nd1wxo1h6 = $_I9y5lqtd287rlgkvnlxh4; $this->_0wqtvgjzxmtqlt4xqzg20mcry2 = true; } } private $_ixkw2doq80vlu9vdn2dtyhm62q; private $_1n4b3nfx2q02zspfe8k9j5gn75 = false; public function get_AutoReloadTimeout() { return $this->_ixkw2doq80vlu9vdn2dtyhm62q; } public function set_AutoReloadTimeout($_i8tovai77j3k74p4cp8c4ee3hy) { if (is_numeric($_i8tovai77j3k74p4cp8c4ee3hy)) { $this->_ixkw2doq80vlu9vdn2dtyhm62q = $_i8tovai77j3k74p4cp8c4ee3hy; $this->_1n4b3nfx2q02zspfe8k9j5gn75 = true; } } private $_O23smk58qcugqizj23j7bc16b4; private $_11479suu1t146i91i1x5w = false; public function get_SoundStartDelay() { return $this->_O23smk58qcugqizj23j7bc16b4; } public function set_SoundStartDelay($_Oapogo84sdnf8iq0hxrvh) { if (self::IsValidSoundStartDelay($_Oapogo84sdnf8iq0hxrvh)) { $this->_O23smk58qcugqizj23j7bc16b4 = $_Oapogo84sdnf8iq0hxrvh; $this->_11479suu1t146i91i1x5w = true; } else { $this->_O23smk58qcugqizj23j7bc16b4 = BDC_CaptchaDefaults::SoundStartDelay; $this->_11479suu1t146i91i1x5w = false; } } public static function IsValidSoundStartDelay($_it7hzp1be0tzikib) { return (is_numeric($_it7hzp1be0tzikib) && $_it7hzp1be0tzikib >= BDC_CaptchaDefaults::MinSoundStartDelay && $_it7hzp1be0tzikib <= BDC_CaptchaDefaults::MaxSoundStartDelay); } private $_lhqp99sucnxaqr3egtw0l; private $_od1m4jfbf6lall9ixmka3izqvp = false; public function get_RemoteScriptEnabled() { return BDC_CaptchaScriptsHelper::GetRemoteScriptEnabled(true); } public function set_RemoteScriptEnabled($_08e5pn4ru0yf2zutkbag1) { if (is_bool($_08e5pn4ru0yf2zutkbag1)) { $this->_lhqp99sucnxaqr3egtw0l = $_08e5pn4ru0yf2zutkbag1; $this->_od1m4jfbf6lall9ixmka3izqvp = true; } } private $_14yc0bl5nf6pbjpy; private $_058tv8l28amzcrsd = false; public function IsJavaScriptRequired() { $_Ojc92jubxaregimu = $this->_14yc0bl5nf6pbjpy; $_Ojc92jubxaregimu = true; return $_Ojc92jubxaregimu; } public function set_JavaScriptRequired($_luhogk7viomfb7zf) { } private $_ivhbf3yl7a1dde7caqedj; private $_izqhc2rgwixzs9hk = false; public function set_ImageColorMode($_ot9vdpjf2kdri0bc1zt6fzh2bq) { $this->_ivhbf3yl7a1dde7caqedj = ImageColorMode::None; } public function get_ImageColorMode() { return $this->_ivhbf3yl7a1dde7caqedj; } public function IsHideCaptchaImage() { return ($this->_ivhbf3yl7a1dde7caqedj != ImageColorMode::None); } public function get_CaptchaImageStyleCss() { $_0o31to44w7z2eo3mqa163 = ""; if($this->IsHideCaptchaImage()) { $_0o31to44w7z2eo3mqa163 = "visibility: hidden !important"; } return $_0o31to44w7z2eo3mqa163; } public function get_CaptchaImageUrl() { return CaptchaUrls::CaptchaImageUrl($this->CaptchaId, $this->InstanceId); } public function get_CaptchaSoundUrl() { return CaptchaUrls::CaptchaSoundUrl($this->CaptchaId, $this->InstanceId); } public function GetScriptIncludeMarkup() { return BDC_HtmlHelper::scriptInclude(CaptchaUrls::CaptchaScriptIncludeUrl($this->CaptchaId, $this->InstanceId)); } private $_Iu5t7u5rpuau7e1sjkvw32fu73; public function get_ImageClientId() { return $this->_Iu5t7u5rpuau7e1sjkvw32fu73; } private function iu86l() { return "BDC_userInputID_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function j3s0l() { return "BDC_CodeCollection_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function l2fz7() { return "BDC_CodeLength_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function r9lap() { return "BDC_CodeStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ald2v() { return "BDC_DisallowedCodeSubstrings_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function h66o9() { return "BDC_CodeTimeout_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function jvku1() { return "BDC_ImageStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function e4h7k() { return "BDC_ImageWidth_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function aptjx() { return "BDC_ImageHeight_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function w3wbs() { return "BDC_ImageFormat_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function whm94() { return "BDC_CustomLightColor_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function jqwj1() { return "BDC_CustomDarkColor_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function rdg8f() { return "BDC_SoundEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function j1bvx() { return "BDC_SoundStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ph1xa() { return "BDC_SoundFormat_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function yhhxk() { return "BDC_SoundRegenerationMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function sjisk() { return "BDC_Locale_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function xinvo() { return "BDC_HelpLinkEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function pbsi5() { return "BDC_HelpLinkMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function se3jp() { return "BDC_javaScriptRequired_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function b4zl0() { return "BDC_AutoUppercaseInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function p2tmb() { return "BDC_AutoFocusInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function kpjmd() { return "BDC_AutoClearInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function i2nj6() { return "BDC_AutoReloadExpiredCaptchas_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function q82sa() { return "BDC_AutoReloadTimeout_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ykici() { return "BDC_SoundStartDelay_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function vygss() { return "BDC_ImageColorMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function z5dac() { return "BDC_RemoteScriptEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } public function getPCPersistenceKey() { return "BDC_pc_{$this->_otc0ouale8wrhglbyl9towafu1}"; } protected function Load() { $_1tnk71cse7sqsws2xugla649k9 = unserialize(BDC_Persistence_Load($this->j3s0l())); if (BDC_CodeCollection::IsValid($_1tnk71cse7sqsws2xugla649k9)) { $this->CaptchaBase->CodeCollection = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->getPCPersistenceKey()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->PC = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->iu86l()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->UserInputID = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->l2fz7()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeLength = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->r9lap()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->h66o9()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeTimeout = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ald2v()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->DisallowedCodeSubstrings = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->jvku1()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->w3wbs()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageFormat = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->e4h7k()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageWidth = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->aptjx()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageHeight = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->whm94()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CustomLightColor = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->jqwj1()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CustomDarkColor = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->rdg8f()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->j1bvx()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ph1xa()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundFormat = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->yhhxk()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundRegenerationMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->sjisk()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->Locale = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->xinvo()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->HelpLinkEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->pbsi5()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->HelpLinkMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->b4zl0()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoUppercaseInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->p2tmb()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoFocusInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->kpjmd()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoClearInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->i2nj6()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoReloadExpiredCaptchas = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->q82sa()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoReloadTimeout = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ykici()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundStartDelay = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->vygss()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageColorMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->z5dac()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->RemoteScriptEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->se3jp()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->JavaScriptRequired = $_1tnk71cse7sqsws2xugla649k9; } } public function Save() { $this->CaptchaBase->SaveCodeCollection(); $this->SavePw($this); $this->_1jrznqqgj5fxe5wbyqoen->Save(); if ($this->_Oz8gr6trybg5brnd) { BDC_Persistence_Save($this->b4zl0(), $this->AutoUppercaseInput); } else { BDC_Persistence_Clear($this->b4zl0()); } if ($this->_o1e77zbs1973ttuy) { BDC_Persistence_Save($this->p2tmb(), $this->AutoFocusInput); } else { BDC_Persistence_Clear($this->p2tmb()); } if ($this->_03pny992s05sbsnc) { BDC_Persistence_Save($this->kpjmd(), $this->AutoClearInput); } else { BDC_Persistence_Clear($this->kpjmd()); } if ($this->_0wqtvgjzxmtqlt4xqzg20mcry2) { BDC_Persistence_Save($this->i2nj6(), $this->AutoReloadExpiredCaptchas); } else { BDC_Persistence_Clear($this->i2nj6()); } if ($this->_1n4b3nfx2q02zspfe8k9j5gn75) { BDC_Persistence_Save($this->q82sa(), $this->AutoReloadTimeout); } else { BDC_Persistence_Clear($this->q82sa()); } if ($this->_11479suu1t146i91i1x5w) { BDC_Persistence_Save($this->ykici(), $this->SoundStartDelay); } else { BDC_Persistence_Clear($this->ykici()); } if ($this->_izqhc2rgwixzs9hk) { BDC_Persistence_Save($this->vygss(), $this->ImageColorMode); } else { BDC_Persistence_Clear($this->vygss()); } if ($this->_od1m4jfbf6lall9ixmka3izqvp) { BDC_Persistence_Save($this->z5dac(), $this->RemoteScriptEnabled); } else { BDC_Persistence_Clear($this->z5dac()); } if ($this->_058tv8l28amzcrsd) { BDC_Persistence_Save($this->se3jp(), $this->IsJavaScriptRequired()); } else { BDC_Persistence_Clear($this->se3jp()); } } public function SaveCodes() { $this->_1jrznqqgj5fxe5wbyqoen->SaveCodeCollection(); } private $_Ip0ph4xsyb7i66bg; public function SavePw($_1ysg4brhplo7topn) { if ($_1ysg4brhplo7topn->UseM()) { $_0li2q4nhnm164gmu = $_1ysg4brhplo7topn->CaptchaBase->PC; if ($_0li2q4nhnm164gmu != null) { BDC_Persistence_Save($_1ysg4brhplo7topn->getPCPersistenceKey(), $_0li2q4nhnm164gmu); } else { BDC_Persistence_Clear($_1ysg4brhplo7topn->getPCPersistenceKey()); } } } public function get_IsSolved() { return BDC_Persistence_Load("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } public function Reset() { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } public function GenPw($_15xbrv4aekfkv9hozlrzm2ly1h) { return $this->_1jrznqqgj5fxe5wbyqoen->PC->GenP($_15xbrv4aekfkv9hozlrzm2ly1h, $this->_1jrznqqgj5fxe5wbyqoen->CodeTimeout); } public function Validate($_oatduwrb5m7ietl9msk4feia02 = null, $_Ithhkenyz06b9w80 = null) { if (!isset($_oatduwrb5m7ietl9msk4feia02) && array_key_exists($this->UserInputID, $_REQUEST)) { $_oatduwrb5m7ietl9msk4feia02 = $_REQUEST[$this->UserInputID]; $_oatduwrb5m7ietl9msk4feia02 = trim($_oatduwrb5m7ietl9msk4feia02); } if (!isset($_Ithhkenyz06b9w80) && array_key_exists($this->_ovcomgsjv5yd5630onp1euprno, $_REQUEST)) { $_Ithhkenyz06b9w80 = $_REQUEST[$this->_ovcomgsjv5yd5630onp1euprno]; } $_oprdp4ms1idbnkjj = false; if (isset($_oatduwrb5m7ietl9msk4feia02) && isset($_Ithhkenyz06b9w80)) { $_oprdp4ms1idbnkjj = $this->_1jrznqqgj5fxe5wbyqoen->Validate($_oatduwrb5m7ietl9msk4feia02, $_Ithhkenyz06b9w80, BDC_ValidationAttemptOrigin::Server, $this->UseM()); } if ($_oprdp4ms1idbnkjj) { BDC_Persistence_Save("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1, true); } else { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } return $_oprdp4ms1idbnkjj; } public function AjaxValidate($_Oclfhsfrijv4btm2rc7ml5fvy5 = null, $_0aele7u4ryahmdwg = null) { $_1udd04yygagzyu9mwtal4 = false; if (isset($_Oclfhsfrijv4btm2rc7ml5fvy5) && isset($_0aele7u4ryahmdwg)) { $_1udd04yygagzyu9mwtal4 = $this->_1jrznqqgj5fxe5wbyqoen->Validate($_Oclfhsfrijv4btm2rc7ml5fvy5, $_0aele7u4ryahmdwg, BDC_ValidationAttemptOrigin::Client, $this->UseM()); } if ($_1udd04yygagzyu9mwtal4) { BDC_Persistence_Save("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1, true); } else { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } return $_1udd04yygagzyu9mwtal4; } public function UseM() { return ($this->IsJavaScriptRequired() && ($this->_1jrznqqgj5fxe5wbyqoen->UserInputID != null) && !$this->TestModeEnabled); } public function get_SoundFilename() { if (SoundFormat::WavPcm16bit8kHzMono == $this->SoundFormat) { return "captcha_{$this->InstanceId}.wav"; } else if (SoundFormat::WavPcm8bit8kHzMono == $this->SoundFormat) { return "captcha_{$this->InstanceId}.wav"; } } public function Html() { $this->_Ip0ph4xsyb7i66bg = $this->GenPw($this->InstanceId); $this->Save(); $_06el0yshzw5cqwd7j3gxz26sm1 = ''; if (true === $this->TestModeEnabled) { $_06el0yshzw5cqwd7j3gxz26sm1 .= "<p class="BDC_Warning">Test Mode Enabled</p>"; } $_1hkxetygizisqcoib2mw1 = "BDC_CaptchaDiv"; if (BDC_StringHelper::HasValue($this->_1wkj0f4p45143ei4e83by)) { $_1hkxetygizisqcoib2mw1 = $_1hkxetygizisqcoib2mw1 . " " . $this->_1wkj0f4p45143ei4e83by; } $_lyb69t6f90albjb5epgz8 = "width:{$this->TotalWidth}px; height:{$this->TotalHeight}px;"; if (BDC_StringHelper::HasValue($this->_070t26b9hzzhmqoh)) { $_lyb69t6f90albjb5epgz8 = $_lyb69t6f90albjb5epgz8 . " " . $this->_070t26b9hzzhmqoh; } $_06el0yshzw5cqwd7j3gxz26sm1 .= " 
  <div class=\"{$_1hkxetygizisqcoib2mw1}\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaDiv\" style=\"{$_lyb69t6f90albjb5epgz8}\"><!-- 
"; $_06el0yshzw5cqwd7j3gxz26sm1 = $this->wuhrd($_06el0yshzw5cqwd7j3gxz26sm1); if ($this->RenderIcons) { $_06el0yshzw5cqwd7j3gxz26sm1 .= " --></div><!-- 
"; } else { $_06el0yshzw5cqwd7j3gxz26sm1 .= " --></div> 
"; } $_06el0yshzw5cqwd7j3gxz26sm1 = $this->uq1jk($_06el0yshzw5cqwd7j3gxz26sm1); $_06el0yshzw5cqwd7j3gxz26sm1 = $this->im7af($_06el0yshzw5cqwd7j3gxz26sm1); $_06el0yshzw5cqwd7j3gxz26sm1 .= "  </div> 
"; return $_06el0yshzw5cqwd7j3gxz26sm1; } private function wuhrd($_0q6hx4uxflvyv4ne) { $_0q6hx4uxflvyv4ne .= " --><div class=\"BDC_CaptchaImageDiv\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaImageDiv\" style=\"width:{$this->ImageWidth}px !important; height:{$this->ImageHeight}px !important;\"><!-- 
"; if (!$this->HelpLinkEnabled) { $_0q6hx4uxflvyv4ne = $this->trg1t($_0q6hx4uxflvyv4ne); } else { switch ($this->HelpLinkMode) { case HelpLinkMode::Image: $_0q6hx4uxflvyv4ne = $this->dww1m($_0q6hx4uxflvyv4ne); break; case HelpLinkMode::Text: $_0q6hx4uxflvyv4ne = $this->cizfx($_0q6hx4uxflvyv4ne); break; } } return $_0q6hx4uxflvyv4ne; } private function trg1t($_Oz0tr7toc0jnevyf7fc0l) { $_Oz0tr7toc0jnevyf7fc0l .= "   --><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /><!-- 
"; return $_Oz0tr7toc0jnevyf7fc0l; } private function dww1m($_Oxtk6d4kmzgb99ns) { if ($this->IsTabIndexSet) { $_Oxtk6d4kmzgb99ns .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></a><!-- 
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Oxtk6d4kmzgb99ns .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" ><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></a><!-- 
"; } return $_Oxtk6d4kmzgb99ns; } private function cizfx($_Okc0u92fzqop71oufygp8) { $_0ar62vb3gpca0berejff3 = $this->TotalHeight - $this->m127z(); $_Okc0u92fzqop71oufygp8 .= "   --><div class=\"BDC_CaptchaImageDiv\" style=\"width:{$this->ImageWidth}px; height:{$_0ar62vb3gpca0berejff3}px;\"><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></div><!-- 
"; $_ldocokvllbwtu3tz1rmfyvqtz9 = $this->m127z(); $_omovgc25zrt8ii0k6amelepl4l = $_ldocokvllbwtu3tz1rmfyvqtz9 - 1; if ($this->IsTabIndexSet) { $_Okc0u92fzqop71oufygp8 .= "   --><a href=\"{$this->HelpLinkUrl}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\" title=\"{$this->HelpLinkText}\" style=\"display: block !important; height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; margin: 0 !important; padding: 0 !important; font-size: {$_omovgc25zrt8ii0k6amelepl4l}px !important; line-height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;\">{$this->HelpLinkText}</a><!-- 
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Okc0u92fzqop71oufygp8 .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" style=\"display: block !important; height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; margin: 0 !important; padding: 0 !important; font-size: {$_omovgc25zrt8ii0k6amelepl4l}px !important; line-height: {$_omovgc25zrt8ii0k6amelepl4l}px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;\">{$this->HelpLinkText}</a><!-- 
"; } return $_Okc0u92fzqop71oufygp8; } private function uq1jk($_Otyr0xqsd8x290m1) { if ($this->RenderIcons) { $_Otyr0xqsd8x290m1 .= " --><div class=\"BDC_CaptchaIconsDiv\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaIconsDiv\" style=\"width: {$this->IconsDivWidth}px !important;\"><!-- 
"; if ($this->ReloadEnabled) { if ($this->IsTabIndexSet) { $_Otyr0xqsd8x290m1 .= "   --><a class=\"BDC_ReloadLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadLink\" href=\"#\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\" title=\"{$this->ReloadTooltip}\"><img class=\"BDC_ReloadIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadIcon\" src=\"{$this->ReloadIconUrl}\" alt=\"{$this->ReloadTooltip}\" /></a><!-- 
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Otyr0xqsd8x290m1 .= "   --><a class=\"BDC_ReloadLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadLink\" href=\"#\" title=\"{$this->ReloadTooltip}\"><img class=\"BDC_ReloadIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadIcon\" src=\"{$this->ReloadIconUrl}\" alt=\"{$this->ReloadTooltip}\" /></a><!-- 
"; } } $_Iib5emwmtu9l2nek = $this->CaptchaSoundUrl; if ($this->SoundEnabled) { if ($this->CaptchaSoundAvailable) { if ($this->IsTabIndexSet) { $_Otyr0xqsd8x290m1 .= "   --><a rel=\"nofollow\" class=\"BDC_SoundLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"{$_Iib5emwmtu9l2nek}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"  title=\"{$this->SoundTooltip}\" target=\"_blank\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"{$this->SoundTooltip}\" /></a><!-- 
"; } else { $_Otyr0xqsd8x290m1 .= "   --><a rel=\"nofollow\" class=\"BDC_SoundLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"{$_Iib5emwmtu9l2nek}\" title=\"{$this->SoundTooltip}\" target=\"_blank\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"{$this->SoundTooltip}\" /></a><!-- 
"; } } else if ($this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { $_Otyr0xqsd8x290m1 .= "   --><a target=\"_blank\" class=\"BDC_DisabledLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"#\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"\" /><span>{$this->SoundTooltip}</span></a><!-- 
"; } } if ($this->SoundEnabled) { $_Otyr0xqsd8x290m1 .="   --><div class=\"BDC_Placeholder\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_AudioPlaceholder\">&nbsp;</div><!-- 
"; } $_Otyr0xqsd8x290m1 .= " --></div> 
"; } return $_Otyr0xqsd8x290m1; } private function im7af($_1vt7yc3x6nver9vc9wt5a) { $_0yfohtc8canwb1zlp3905 = $this->AutoUppercaseInput ? "true" : "false"; $_oitvtebyixyf2cvq = $this->AutoFocusInput ? "true" : "false"; $_Otf6n41sd3y3bp87pc42e = $this->AutoClearInput ? "true" : "false"; $_oprndjm0lt97nwtjozmwp3hqrv = $this->AutoReloadExpiredCaptchas ? "true" : "false"; $_ohqm55gx2up4sv9vy2c70om8ne = $this->CodeTimeout; $_luu0qk8x5lyae1w09he3hww2b2 = $this->AutoReloadTimeout; $_I5jztk8miczesff6qfovk63ztt = $this->SoundStartDelay; $_lzc4oqfllaibc2n6jct6gfgotz = ($this->SoundRegenerationMode == SoundRegenerationMode::Limited) ? "true" : "false"; if ($this->AddScriptInclude) { $_1vt7yc3x6nver9vc9wt5a .= $this->GetScriptIncludeMarkup(); } $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_UserSpecifiedCaptchaId\" id=\"BDC_UserSpecifiedCaptchaId\" value=\"{$this->_Ovtxzyah0c5ctro4t3vrk}\" /> 
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"{$this->_ovcomgsjv5yd5630onp1euprno}\" id=\"{$this->_ovcomgsjv5yd5630onp1euprno}\" value=\"{$this->InstanceId}\" /> 
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_BackWorkaround_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_BackWorkaround_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"0\" /> 
"; if($this->UseM()) { $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_Hs_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_Hs_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"{$this->_Ip0ph4xsyb7i66bg->GetHs()}\" /> 
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_SP_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_SP_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"{$this->_Ip0ph4xsyb7i66bg->GetSP()}\" /> 
"; } return $_1vt7yc3x6nver9vc9wt5a; } public static function IsFree() { return BDC_CaptchaBase::IsFree; } public static function GetProductInfo() { return BDC_CaptchaBase::$ProductInfo; } private function m127z() { return $this->HelpLinkHeight; } public static function LibInfo() { $_1g37ih7342phagu9 = ''; $_1g37ih7342phagu9 .= BDC_CaptchaBase::$ProductInfo["name"] . " version " . BDC_CaptchaBase::$ProductInfo["version"]; $_1g37ih7342phagu9 .= " " . (BDC_CaptchaBase::IsFree ? "Free" : "Enterprise"); $_1g37ih7342phagu9 .= " loaded by PHP version " . PHP_VERSION; return $_1g37ih7342phagu9; } public function __get($_Ounq4kf6b0r2ba2fdsrap) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_Om30lmz0quh2s75vem0hb = "get_".$_Ounq4kf6b0r2ba2fdsrap))) { return $this->_1jrznqqgj5fxe5wbyqoen->$_Om30lmz0quh2s75vem0hb(); } else if (method_exists($this, ($_Om30lmz0quh2s75vem0hb = "get_".$_Ounq4kf6b0r2ba2fdsrap))) { return $this->$_Om30lmz0quh2s75vem0hb(); } else return; } public function __isset($_Iqpfzlibo9uemmsk) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_1lv9ogxxe5opju6tx5f3xdvnrh = "isset_".$_Iqpfzlibo9uemmsk))) { return $this->_1jrznqqgj5fxe5wbyqoen->$_1lv9ogxxe5opju6tx5f3xdvnrh(); } else if (method_exists($this, ($_1lv9ogxxe5opju6tx5f3xdvnrh = "isset_".$_Iqpfzlibo9uemmsk))) { return $this->$_1lv9ogxxe5opju6tx5f3xdvnrh(); } else return; } public function __set($_Izwrc5q78bae3ffrs9jdw, $_od0airelflv8rc2o) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_izl20pqd26zwpj71s8f5h = "set_".$_Izwrc5q78bae3ffrs9jdw))) { $this->_1jrznqqgj5fxe5wbyqoen->$_izl20pqd26zwpj71s8f5h($_od0airelflv8rc2o); } else if (method_exists($this, ($_izl20pqd26zwpj71s8f5h = "set_".$_Izwrc5q78bae3ffrs9jdw))) { $this->$_izl20pqd26zwpj71s8f5h($_od0airelflv8rc2o); } } public function __unset($_1iq2vwl2bfwfb8h3v7xv1) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_iac8g0wobo2e268z = "unset_".$_1iq2vwl2bfwfb8h3v7xv1))) { $this->_1jrznqqgj5fxe5wbyqoen->$_iac8g0wobo2e268z(); } else if (method_exists($this, ($_iac8g0wobo2e268z = "unset_".$_1iq2vwl2bfwfb8h3v7xv1))) { $this->$_iac8g0wobo2e268z(); } } } ?>

Did this file decode correctly?

Original Code

<?php 
 class Captcha { public function __construct($_l51uo2g511qjdq6zfpa5f, $_if49e56s8nqsohdg = null) { $this->_Ovtxzyah0c5ctro4t3vrk = $_l51uo2g511qjdq6zfpa5f; $this->_ovcomgsjv5yd5630onp1euprno = "BDC_VCID_{$_l51uo2g511qjdq6zfpa5f}"; $this->_Iu5t7u5rpuau7e1sjkvw32fu73 = "{$_l51uo2g511qjdq6zfpa5f}_CaptchaImage"; $this->_14yc0bl5nf6pbjpy = BDC_CaptchaDefaults::JavaScriptRequired; $this->_1jrznqqgj5fxe5wbyqoen = new BDC_CaptchaBase($_l51uo2g511qjdq6zfpa5f, $_if49e56s8nqsohdg); $this->_otc0ouale8wrhglbyl9towafu1 = $this->_1jrznqqgj5fxe5wbyqoen->CaptchaId; $this->_ol9r98laxg81kqs3ycgukwbza0 = $this->_1jrznqqgj5fxe5wbyqoen->Settings; $this->_169bhoa9fybrl8m9p0zkh7nydd = $this->_ol9r98laxg81kqs3ycgukwbza0->ImageTooltip; $this->_142l45frtm4of7iio427rhm5mj = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundTooltip; $this->_19ivxkmt0fqhnf1q = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadTooltip; $this->_0tbu96wvzwgow4imkyuwr9tnvl = $this->_ol9r98laxg81kqs3ycgukwbza0->HelpLinkText; $this->_ipq7ah9dfk8h5pq8 = $this->_ol9r98laxg81kqs3ycgukwbza0->HelpLinkUrl; $this->_l2l1ltojzg8epg9wvegcr = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadEnabled; $this->_o2q6a7pp6pc8h3y28d6t1yd5lx = $this->_ol9r98laxg81kqs3ycgukwbza0->UseSmallIcons; $this->_0fuwgrrrcn6m9a5m = $this->_ol9r98laxg81kqs3ycgukwbza0->UseHorizontalIcons; $this->_07956dd9tul3fy51 = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundIconUrl; $this->_Iprg2qaljb6xn5wbxsj35a7xdy = $this->_ol9r98laxg81kqs3ycgukwbza0->ReloadIconUrl; $this->_i5oc8l6wu6ynscyeqh422jsain = $this->_ol9r98laxg81kqs3ycgukwbza0->IconsDivWidth; $this->m_TabIndexStart = -255; $this->_1wkj0f4p45143ei4e83by = $this->_ol9r98laxg81kqs3ycgukwbza0->AdditionalCssClasses; $this->_070t26b9hzzhmqoh = $this->_ol9r98laxg81kqs3ycgukwbza0->AdditionalInlineCss; $this->_0qm2bh17tru8w32oxq5t7bp2ei = $this->_ol9r98laxg81kqs3ycgukwbza0->AddScriptInclude; $this->_o4fdlaizkj8suwjhb14g7 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoFocusInput; $this->_Iwj9dkzweuz26cyi = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoClearInput; $this->_lpy16rt3s3ni2j4t4lhg9 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoUppercaseInput; $this->_1a8u7qvq1df7nd1wxo1h6 = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoReloadExpiredCaptchas; $this->_ixkw2doq80vlu9vdn2dtyhm62q = $this->_ol9r98laxg81kqs3ycgukwbza0->AutoReloadTimeout; $this->_O23smk58qcugqizj23j7bc16b4 = $this->_ol9r98laxg81kqs3ycgukwbza0->SoundStartDelay; $this->_lhqp99sucnxaqr3egtw0l = $this->_ol9r98laxg81kqs3ycgukwbza0->RemoteScriptEnabled; $this->ImageColorMode = $this->_ol9r98laxg81kqs3ycgukwbza0->ImageColorMode; $this->JavaScriptRequired = $this->_ol9r98laxg81kqs3ycgukwbza0->JavaScriptRequired; new BDC_CaptchaLogging($this->_ol9r98laxg81kqs3ycgukwbza0->ErrorLoggingEnabled); $this->Load(); } private $_ol9r98laxg81kqs3ycgukwbza0 = null; private $_1jrznqqgj5fxe5wbyqoen; public function get_CaptchaBase() { return $this->_1jrznqqgj5fxe5wbyqoen; } private $_Ovtxzyah0c5ctro4t3vrk; private $_otc0ouale8wrhglbyl9towafu1; private $_ovcomgsjv5yd5630onp1euprno; protected function get_HiddenFieldId() { return $this->_ovcomgsjv5yd5630onp1euprno; } private $_169bhoa9fybrl8m9p0zkh7nydd; public function get_ImageTooltip() { if (BDC_StringHelper::HasValue($this->_169bhoa9fybrl8m9p0zkh7nydd)) { return $this->_169bhoa9fybrl8m9p0zkh7nydd; } else { return $this->Localization->ImageTooltip; } } public function set_ImageTooltip($_iusetk9fw31rpbegup88crfrzi) { if (is_string($_iusetk9fw31rpbegup88crfrzi)) { $this->_169bhoa9fybrl8m9p0zkh7nydd = $_iusetk9fw31rpbegup88crfrzi; } } private $_142l45frtm4of7iio427rhm5mj; public function get_SoundTooltip() { if ($this->SoundPackageMissing && $this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { return "<em>Captcha sound is enabled, but the pronunciation sound package required for the current locale can not be found.</em> 
<em>To enable Captcha sound for this locale, please deploy the appropriate sound package to the <code>\lib\botdetect\Resources\Sounds\</code> folder of the BotDetect PHP Captcha library. For example, use <code>Pronunciation_English_GB.bdsp</code> for British English Captcha sounds.</em> 
<em>To disable this warning and remove the sound icon for the current Captcha locale, set <code>\$BotDetect->WarnAboutMissingSoundPackages = false;</code> in the <code>CaptchaConfig.php</code> file. To remove the sound icon for all locales, simply set <code>\$BotDetect->SoundEnabled = false;</code>.</em>"; } if (BDC_StringHelper::HasValue($this->_142l45frtm4of7iio427rhm5mj)) { return $this->_142l45frtm4of7iio427rhm5mj; } else { return $this->Localization->SoundTooltip; } } public function set_SoundTooltip($_ogq0wagfwjcwlgfe) { if (is_string($_ogq0wagfwjcwlgfe)) { $this->_142l45frtm4of7iio427rhm5mj = $_ogq0wagfwjcwlgfe; } } public function get_CaptchaSoundAvailable() { return $this->_1jrznqqgj5fxe5wbyqoen->IsLocalizedPronunciationAvailable; } public function get_SoundPackageMissing() { return ($this->SoundEnabled && !$this->CaptchaSoundAvailable); } private $_19ivxkmt0fqhnf1q; public function get_ReloadTooltip() { if (BDC_StringHelper::HasValue($this->_19ivxkmt0fqhnf1q)) { return $this->_19ivxkmt0fqhnf1q; } else { return $this->Localization->ReloadTooltip; } } public function set_ReloadTooltip($_ovcbsanhgs94acbodfxafl965z) { if (is_string($_ovcbsanhgs94acbodfxafl965z)) { $this->_19ivxkmt0fqhnf1q = $_ovcbsanhgs94acbodfxafl965z; } } private $_0tbu96wvzwgow4imkyuwr9tnvl; public function get_HelpLinkText() { if (BDC_StringHelper::HasValue($this->_0tbu96wvzwgow4imkyuwr9tnvl)) { return BDC_HelpLinkHelper::GetHelpLinkText($this->_0tbu96wvzwgow4imkyuwr9tnvl, $this->ImageWidth); } else { return BDC_HelpLinkHelper::GetDefaultText($this->ImageWidth); } } public function set_HelpLinkText($_Ieekroo24rtiwgfi) { if (is_string($_Ieekroo24rtiwgfi)) { $this->_0tbu96wvzwgow4imkyuwr9tnvl = $_Ieekroo24rtiwgfi; } } private $_ipq7ah9dfk8h5pq8; public function get_HelpLinkUrl() { if (BDC_StringHelper::HasValue($this->_ipq7ah9dfk8h5pq8)) { return BDC_HelpLinkHelper::GetHelpLinkUrl($this->_ipq7ah9dfk8h5pq8, $this->Localization); } else { return BDC_HelpLinkHelper::GetDefaultUrl($this->Localization); } } public function set_HelpLinkUrl($_13l7ycv4fy3xav4enuem04iayz) { if (is_string($_13l7ycv4fy3xav4enuem04iayz)) { $this->_ipq7ah9dfk8h5pq8 = $_13l7ycv4fy3xav4enuem04iayz; } } private $_l2l1ltojzg8epg9wvegcr; public function get_ReloadEnabled() { return $this->_l2l1ltojzg8epg9wvegcr; } public function set_ReloadEnabled($_lyriul8b88a5u1ma98sqcpck06) { if (is_bool($_lyriul8b88a5u1ma98sqcpck06)) { $this->_l2l1ltojzg8epg9wvegcr = $_lyriul8b88a5u1ma98sqcpck06; } } private $_o2q6a7pp6pc8h3y28d6t1yd5lx; public function get_UseSmallIcons() { if (is_bool($this->_o2q6a7pp6pc8h3y28d6t1yd5lx)) { return $this->_o2q6a7pp6pc8h3y28d6t1yd5lx; } else { return ($this->ImageHeight < 50); } } public function set_UseSmallIcons($_1liydfh6xhijyrigwgg03) { if (is_null($_1liydfh6xhijyrigwgg03) || is_bool($_1liydfh6xhijyrigwgg03)) { $this->_o2q6a7pp6pc8h3y28d6t1yd5lx = $_1liydfh6xhijyrigwgg03; } } private $_0fuwgrrrcn6m9a5m; public function get_UseHorizontalIcons() { if (is_bool($this->_0fuwgrrrcn6m9a5m)) { return $this->_0fuwgrrrcn6m9a5m; } else { return ($this->ImageHeight < 40); } } public function set_UseHorizontalIcons($_ii1sk67638mr2z3plq8rp) { if (is_null($_ii1sk67638mr2z3plq8rp) || is_bool($_ii1sk67638mr2z3plq8rp)) { $this->_0fuwgrrrcn6m9a5m = $_ii1sk67638mr2z3plq8rp; } } private $_07956dd9tul3fy51; public function get_SoundIconUrl() { $_opxpqo93res3hdcys0oxcaa192; if (BDC_StringHelper::HasValue($this->_07956dd9tul3fy51)) { $_opxpqo93res3hdcys0oxcaa192 = $this->_07956dd9tul3fy51; } else { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::DefaultSoundIconUrl(); if ($this->UseSmallIcons) { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::SmallIconUrl($_opxpqo93res3hdcys0oxcaa192); } } if ($this->SoundPackageMissing && $this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { $_opxpqo93res3hdcys0oxcaa192 = CaptchaUrls::DisabledIconUrl($_opxpqo93res3hdcys0oxcaa192); } return $_opxpqo93res3hdcys0oxcaa192; } public function set_SoundIconUrl($_ocu44dcas055l661) { if (is_string($_ocu44dcas055l661)) { $this->_07956dd9tul3fy51 = $_ocu44dcas055l661; } } private $_Iprg2qaljb6xn5wbxsj35a7xdy; public function get_ReloadIconUrl() { $_O6egyi3br1kf1aki; if (BDC_StringHelper::HasValue($this->_Iprg2qaljb6xn5wbxsj35a7xdy)) { $_O6egyi3br1kf1aki = $this->_Iprg2qaljb6xn5wbxsj35a7xdy; } else { $_O6egyi3br1kf1aki = CaptchaUrls::DefaultReloadIconUrl(); if ($this->UseSmallIcons) { $_O6egyi3br1kf1aki = CaptchaUrls::SmallIconUrl($_O6egyi3br1kf1aki); } } return $_O6egyi3br1kf1aki; } public function set_ReloadIconUrl($_Orzbpt3nj6dpk201ntbmk8u9jy) { if (is_string($_Orzbpt3nj6dpk201ntbmk8u9jy)) { $this->_Iprg2qaljb6xn5wbxsj35a7xdy = $_Orzbpt3nj6dpk201ntbmk8u9jy; } } public function get_RenderIcons() { return ($this->SoundEnabled || $this->_l2l1ltojzg8epg9wvegcr); } public function get_TotalWidth() { $_In0m2k1h0z3gd5pv705u1 = $this->ImageWidth; if ($this->RenderIcons) { $_In0m2k1h0z3gd5pv705u1 = $_In0m2k1h0z3gd5pv705u1 + 3 * BDC_CaptchaDefaults::IconSpacing + $this->get_IconsDivWidth(); } return $_In0m2k1h0z3gd5pv705u1; } public function get_TotalHeight() { return $this->ImageHeight; } public function get_DefaultIconWidth() { if ($this->UseSmallIcons) { return BDC_CaptchaDefaults::SmallIconSize; } else { return BDC_CaptchaDefaults::IconSize; } } private $_i5oc8l6wu6ynscyeqh422jsain; public function get_IconsDivWidth() { if (is_int($this->_i5oc8l6wu6ynscyeqh422jsain) && (0 < $this->_i5oc8l6wu6ynscyeqh422jsain)) { return $this->_i5oc8l6wu6ynscyeqh422jsain; } else { return $this->DefaultIconsDivWidth; } } public function set_IconsDivWidth($_l9uo30gt5ob99jdo) { if (is_int($_l9uo30gt5ob99jdo)) { $this->_i5oc8l6wu6ynscyeqh422jsain = $_l9uo30gt5ob99jdo; } } public function get_DefaultIconsDivWidth() { if ($this->UseHorizontalIcons) { return 2 * $this->get_DefaultIconWidth() + 4 * BDC_CaptchaDefaults::IconSpacing; } else { return $this->get_DefaultIconWidth() + BDC_CaptchaDefaults::IconSpacing; } } private $_Ir74gtavaoxt4ibnxknajw5kt5 = -255; public function get_TabIndex() { return $this->_Ir74gtavaoxt4ibnxknajw5kt5; } public function set_TabIndex($_Ohlcqpoz5a59feqb4cybn) { $this->_Ir74gtavaoxt4ibnxknajw5kt5 = (int)($_Ohlcqpoz5a59feqb4cybn); } public function get_IsTabIndexSet() { $_l6cpgjv9bkn297pgkd2kwhsbmz = false; if (-255 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $_l6cpgjv9bkn297pgkd2kwhsbmz = true; } return $_l6cpgjv9bkn297pgkd2kwhsbmz; } private $_1wkj0f4p45143ei4e83by = ''; public function get_AdditionalCssClasses() { return $this->_1wkj0f4p45143ei4e83by; } public function set_AdditionalCssClasses($_Iaub8maqq1dev6vjwg0ce) { if (is_string($_Iaub8maqq1dev6vjwg0ce)) { $this->_1wkj0f4p45143ei4e83by = $_Iaub8maqq1dev6vjwg0ce; } } private $_070t26b9hzzhmqoh = ''; public function get_AdditionalInlineCss() { return $this->_070t26b9hzzhmqoh; } public function set_AdditionalInlineCss($_l2mgk4aw20midsq66brvgco9kv) { if (is_string($_l2mgk4aw20midsq66brvgco9kv)) { $this->_070t26b9hzzhmqoh = $_l2mgk4aw20midsq66brvgco9kv; } } private $_0qm2bh17tru8w32oxq5t7bp2ei = ''; public function get_AddScriptInclude() { return $this->_0qm2bh17tru8w32oxq5t7bp2ei; } public function set_AddScriptInclude($_leg9bq3npxa1rqmp2l703) { if (is_bool($_leg9bq3npxa1rqmp2l703)) { $this->_0qm2bh17tru8w32oxq5t7bp2ei = $_leg9bq3npxa1rqmp2l703; } } private $_lpy16rt3s3ni2j4t4lhg9; private $_Oz8gr6trybg5brnd = false; public function get_AutoUppercaseInput() { return $this->_lpy16rt3s3ni2j4t4lhg9; } public function set_AutoUppercaseInput($_idbrbio9wh3f8yxppwmqw9knce) { if (is_bool($_idbrbio9wh3f8yxppwmqw9knce)) { $this->_lpy16rt3s3ni2j4t4lhg9 = $_idbrbio9wh3f8yxppwmqw9knce; $this->_Oz8gr6trybg5brnd = true; } } private $_o4fdlaizkj8suwjhb14g7; private $_o1e77zbs1973ttuy = false; public function get_AutoFocusInput() { return $this->_o4fdlaizkj8suwjhb14g7; } public function set_AutoFocusInput($_l5gbv66x4flelnmb) { if (is_bool($_l5gbv66x4flelnmb)) { $this->_o4fdlaizkj8suwjhb14g7 = $_l5gbv66x4flelnmb; $this->_o1e77zbs1973ttuy = true; } } private $_Iwj9dkzweuz26cyi; private $_03pny992s05sbsnc = false; public function get_AutoClearInput() { return $this->_Iwj9dkzweuz26cyi; } public function set_AutoClearInput($_I1zg20gg85ospxn0ldcrc8t7my) { if (is_bool($_I1zg20gg85ospxn0ldcrc8t7my)) { $this->_Iwj9dkzweuz26cyi = $_I1zg20gg85ospxn0ldcrc8t7my; $this->_03pny992s05sbsnc = true; } } private $_1a8u7qvq1df7nd1wxo1h6; private $_0wqtvgjzxmtqlt4xqzg20mcry2 = false; public function get_AutoReloadExpiredCaptchas() { return $this->_1a8u7qvq1df7nd1wxo1h6; } public function set_AutoReloadExpiredCaptchas($_I9y5lqtd287rlgkvnlxh4) { if (is_bool($_I9y5lqtd287rlgkvnlxh4)) { $this->_1a8u7qvq1df7nd1wxo1h6 = $_I9y5lqtd287rlgkvnlxh4; $this->_0wqtvgjzxmtqlt4xqzg20mcry2 = true; } } private $_ixkw2doq80vlu9vdn2dtyhm62q; private $_1n4b3nfx2q02zspfe8k9j5gn75 = false; public function get_AutoReloadTimeout() { return $this->_ixkw2doq80vlu9vdn2dtyhm62q; } public function set_AutoReloadTimeout($_i8tovai77j3k74p4cp8c4ee3hy) { if (is_numeric($_i8tovai77j3k74p4cp8c4ee3hy)) { $this->_ixkw2doq80vlu9vdn2dtyhm62q = $_i8tovai77j3k74p4cp8c4ee3hy; $this->_1n4b3nfx2q02zspfe8k9j5gn75 = true; } } private $_O23smk58qcugqizj23j7bc16b4; private $_11479suu1t146i91i1x5w = false; public function get_SoundStartDelay() { return $this->_O23smk58qcugqizj23j7bc16b4; } public function set_SoundStartDelay($_Oapogo84sdnf8iq0hxrvh) { if (self::IsValidSoundStartDelay($_Oapogo84sdnf8iq0hxrvh)) { $this->_O23smk58qcugqizj23j7bc16b4 = $_Oapogo84sdnf8iq0hxrvh; $this->_11479suu1t146i91i1x5w = true; } else { $this->_O23smk58qcugqizj23j7bc16b4 = BDC_CaptchaDefaults::SoundStartDelay; $this->_11479suu1t146i91i1x5w = false; } } public static function IsValidSoundStartDelay($_it7hzp1be0tzikib) { return (is_numeric($_it7hzp1be0tzikib) && $_it7hzp1be0tzikib >= BDC_CaptchaDefaults::MinSoundStartDelay && $_it7hzp1be0tzikib <= BDC_CaptchaDefaults::MaxSoundStartDelay); } private $_lhqp99sucnxaqr3egtw0l; private $_od1m4jfbf6lall9ixmka3izqvp = false; public function get_RemoteScriptEnabled() { return BDC_CaptchaScriptsHelper::GetRemoteScriptEnabled(true); } public function set_RemoteScriptEnabled($_08e5pn4ru0yf2zutkbag1) { if (is_bool($_08e5pn4ru0yf2zutkbag1)) { $this->_lhqp99sucnxaqr3egtw0l = $_08e5pn4ru0yf2zutkbag1; $this->_od1m4jfbf6lall9ixmka3izqvp = true; } } private $_14yc0bl5nf6pbjpy; private $_058tv8l28amzcrsd = false; public function IsJavaScriptRequired() { $_Ojc92jubxaregimu = $this->_14yc0bl5nf6pbjpy; $_Ojc92jubxaregimu = true; return $_Ojc92jubxaregimu; } public function set_JavaScriptRequired($_luhogk7viomfb7zf) { } private $_ivhbf3yl7a1dde7caqedj; private $_izqhc2rgwixzs9hk = false; public function set_ImageColorMode($_ot9vdpjf2kdri0bc1zt6fzh2bq) { $this->_ivhbf3yl7a1dde7caqedj = ImageColorMode::None; } public function get_ImageColorMode() { return $this->_ivhbf3yl7a1dde7caqedj; } public function IsHideCaptchaImage() { return ($this->_ivhbf3yl7a1dde7caqedj != ImageColorMode::None); } public function get_CaptchaImageStyleCss() { $_0o31to44w7z2eo3mqa163 = ""; if($this->IsHideCaptchaImage()) { $_0o31to44w7z2eo3mqa163 = "visibility: hidden !important"; } return $_0o31to44w7z2eo3mqa163; } public function get_CaptchaImageUrl() { return CaptchaUrls::CaptchaImageUrl($this->CaptchaId, $this->InstanceId); } public function get_CaptchaSoundUrl() { return CaptchaUrls::CaptchaSoundUrl($this->CaptchaId, $this->InstanceId); } public function GetScriptIncludeMarkup() { return BDC_HtmlHelper::scriptInclude(CaptchaUrls::CaptchaScriptIncludeUrl($this->CaptchaId, $this->InstanceId)); } private $_Iu5t7u5rpuau7e1sjkvw32fu73; public function get_ImageClientId() { return $this->_Iu5t7u5rpuau7e1sjkvw32fu73; } private function iu86l() { return "BDC_userInputID_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function j3s0l() { return "BDC_CodeCollection_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function l2fz7() { return "BDC_CodeLength_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function r9lap() { return "BDC_CodeStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ald2v() { return "BDC_DisallowedCodeSubstrings_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function h66o9() { return "BDC_CodeTimeout_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function jvku1() { return "BDC_ImageStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function e4h7k() { return "BDC_ImageWidth_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function aptjx() { return "BDC_ImageHeight_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function w3wbs() { return "BDC_ImageFormat_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function whm94() { return "BDC_CustomLightColor_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function jqwj1() { return "BDC_CustomDarkColor_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function rdg8f() { return "BDC_SoundEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function j1bvx() { return "BDC_SoundStyle_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ph1xa() { return "BDC_SoundFormat_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function yhhxk() { return "BDC_SoundRegenerationMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function sjisk() { return "BDC_Locale_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function xinvo() { return "BDC_HelpLinkEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function pbsi5() { return "BDC_HelpLinkMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function se3jp() { return "BDC_javaScriptRequired_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function b4zl0() { return "BDC_AutoUppercaseInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function p2tmb() { return "BDC_AutoFocusInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function kpjmd() { return "BDC_AutoClearInput_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function i2nj6() { return "BDC_AutoReloadExpiredCaptchas_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function q82sa() { return "BDC_AutoReloadTimeout_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function ykici() { return "BDC_SoundStartDelay_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function vygss() { return "BDC_ImageColorMode_{$this->_otc0ouale8wrhglbyl9towafu1}"; } private function z5dac() { return "BDC_RemoteScriptEnabled_{$this->_otc0ouale8wrhglbyl9towafu1}"; } public function getPCPersistenceKey() { return "BDC_pc_{$this->_otc0ouale8wrhglbyl9towafu1}"; } protected function Load() { $_1tnk71cse7sqsws2xugla649k9 = unserialize(BDC_Persistence_Load($this->j3s0l())); if (BDC_CodeCollection::IsValid($_1tnk71cse7sqsws2xugla649k9)) { $this->CaptchaBase->CodeCollection = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->getPCPersistenceKey()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->PC = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->iu86l()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->UserInputID = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->l2fz7()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeLength = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->r9lap()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->h66o9()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CodeTimeout = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ald2v()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->DisallowedCodeSubstrings = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->jvku1()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->w3wbs()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageFormat = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->e4h7k()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageWidth = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->aptjx()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageHeight = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->whm94()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CustomLightColor = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->jqwj1()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->CustomDarkColor = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->rdg8f()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->j1bvx()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundStyle = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ph1xa()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundFormat = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->yhhxk()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundRegenerationMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->sjisk()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->Locale = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->xinvo()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->HelpLinkEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->pbsi5()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->HelpLinkMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->b4zl0()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoUppercaseInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->p2tmb()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoFocusInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->kpjmd()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoClearInput = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->i2nj6()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoReloadExpiredCaptchas = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->q82sa()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->AutoReloadTimeout = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->ykici()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->SoundStartDelay = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->vygss()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->ImageColorMode = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->z5dac()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->RemoteScriptEnabled = $_1tnk71cse7sqsws2xugla649k9; } $_1tnk71cse7sqsws2xugla649k9 = BDC_Persistence_Load($this->se3jp()); if (isset($_1tnk71cse7sqsws2xugla649k9)) { $this->JavaScriptRequired = $_1tnk71cse7sqsws2xugla649k9; } } public function Save() { $this->CaptchaBase->SaveCodeCollection(); $this->SavePw($this); $this->_1jrznqqgj5fxe5wbyqoen->Save(); if ($this->_Oz8gr6trybg5brnd) { BDC_Persistence_Save($this->b4zl0(), $this->AutoUppercaseInput); } else { BDC_Persistence_Clear($this->b4zl0()); } if ($this->_o1e77zbs1973ttuy) { BDC_Persistence_Save($this->p2tmb(), $this->AutoFocusInput); } else { BDC_Persistence_Clear($this->p2tmb()); } if ($this->_03pny992s05sbsnc) { BDC_Persistence_Save($this->kpjmd(), $this->AutoClearInput); } else { BDC_Persistence_Clear($this->kpjmd()); } if ($this->_0wqtvgjzxmtqlt4xqzg20mcry2) { BDC_Persistence_Save($this->i2nj6(), $this->AutoReloadExpiredCaptchas); } else { BDC_Persistence_Clear($this->i2nj6()); } if ($this->_1n4b3nfx2q02zspfe8k9j5gn75) { BDC_Persistence_Save($this->q82sa(), $this->AutoReloadTimeout); } else { BDC_Persistence_Clear($this->q82sa()); } if ($this->_11479suu1t146i91i1x5w) { BDC_Persistence_Save($this->ykici(), $this->SoundStartDelay); } else { BDC_Persistence_Clear($this->ykici()); } if ($this->_izqhc2rgwixzs9hk) { BDC_Persistence_Save($this->vygss(), $this->ImageColorMode); } else { BDC_Persistence_Clear($this->vygss()); } if ($this->_od1m4jfbf6lall9ixmka3izqvp) { BDC_Persistence_Save($this->z5dac(), $this->RemoteScriptEnabled); } else { BDC_Persistence_Clear($this->z5dac()); } if ($this->_058tv8l28amzcrsd) { BDC_Persistence_Save($this->se3jp(), $this->IsJavaScriptRequired()); } else { BDC_Persistence_Clear($this->se3jp()); } } public function SaveCodes() { $this->_1jrznqqgj5fxe5wbyqoen->SaveCodeCollection(); } private $_Ip0ph4xsyb7i66bg; public function SavePw($_1ysg4brhplo7topn) { if ($_1ysg4brhplo7topn->UseM()) { $_0li2q4nhnm164gmu = $_1ysg4brhplo7topn->CaptchaBase->PC; if ($_0li2q4nhnm164gmu != null) { BDC_Persistence_Save($_1ysg4brhplo7topn->getPCPersistenceKey(), $_0li2q4nhnm164gmu); } else { BDC_Persistence_Clear($_1ysg4brhplo7topn->getPCPersistenceKey()); } } } public function get_IsSolved() { return BDC_Persistence_Load("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } public function Reset() { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } public function GenPw($_15xbrv4aekfkv9hozlrzm2ly1h) { return $this->_1jrznqqgj5fxe5wbyqoen->PC->GenP($_15xbrv4aekfkv9hozlrzm2ly1h, $this->_1jrznqqgj5fxe5wbyqoen->CodeTimeout); } public function Validate($_oatduwrb5m7ietl9msk4feia02 = null, $_Ithhkenyz06b9w80 = null) { if (!isset($_oatduwrb5m7ietl9msk4feia02) && array_key_exists($this->UserInputID, $_REQUEST)) { $_oatduwrb5m7ietl9msk4feia02 = $_REQUEST[$this->UserInputID]; $_oatduwrb5m7ietl9msk4feia02 = trim($_oatduwrb5m7ietl9msk4feia02); } if (!isset($_Ithhkenyz06b9w80) && array_key_exists($this->_ovcomgsjv5yd5630onp1euprno, $_REQUEST)) { $_Ithhkenyz06b9w80 = $_REQUEST[$this->_ovcomgsjv5yd5630onp1euprno]; } $_oprdp4ms1idbnkjj = false; if (isset($_oatduwrb5m7ietl9msk4feia02) && isset($_Ithhkenyz06b9w80)) { $_oprdp4ms1idbnkjj = $this->_1jrznqqgj5fxe5wbyqoen->Validate($_oatduwrb5m7ietl9msk4feia02, $_Ithhkenyz06b9w80, BDC_ValidationAttemptOrigin::Server, $this->UseM()); } if ($_oprdp4ms1idbnkjj) { BDC_Persistence_Save("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1, true); } else { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } return $_oprdp4ms1idbnkjj; } public function AjaxValidate($_Oclfhsfrijv4btm2rc7ml5fvy5 = null, $_0aele7u4ryahmdwg = null) { $_1udd04yygagzyu9mwtal4 = false; if (isset($_Oclfhsfrijv4btm2rc7ml5fvy5) && isset($_0aele7u4ryahmdwg)) { $_1udd04yygagzyu9mwtal4 = $this->_1jrznqqgj5fxe5wbyqoen->Validate($_Oclfhsfrijv4btm2rc7ml5fvy5, $_0aele7u4ryahmdwg, BDC_ValidationAttemptOrigin::Client, $this->UseM()); } if ($_1udd04yygagzyu9mwtal4) { BDC_Persistence_Save("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1, true); } else { BDC_Persistence_Clear("BDC_IsSolved_" . $this->_otc0ouale8wrhglbyl9towafu1); } return $_1udd04yygagzyu9mwtal4; } public function UseM() { return ($this->IsJavaScriptRequired() && ($this->_1jrznqqgj5fxe5wbyqoen->UserInputID != null) && !$this->TestModeEnabled); } public function get_SoundFilename() { if (SoundFormat::WavPcm16bit8kHzMono == $this->SoundFormat) { return "captcha_{$this->InstanceId}.wav"; } else if (SoundFormat::WavPcm8bit8kHzMono == $this->SoundFormat) { return "captcha_{$this->InstanceId}.wav"; } } public function Html() { $this->_Ip0ph4xsyb7i66bg = $this->GenPw($this->InstanceId); $this->Save(); $_06el0yshzw5cqwd7j3gxz26sm1 = ''; if (true === $this->TestModeEnabled) { $_06el0yshzw5cqwd7j3gxz26sm1 .= "<p class="BDC_Warning">Test Mode Enabled</p>"; } $_1hkxetygizisqcoib2mw1 = "BDC_CaptchaDiv"; if (BDC_StringHelper::HasValue($this->_1wkj0f4p45143ei4e83by)) { $_1hkxetygizisqcoib2mw1 = $_1hkxetygizisqcoib2mw1 . " " . $this->_1wkj0f4p45143ei4e83by; } $_lyb69t6f90albjb5epgz8 = "width:{$this->TotalWidth}px; height:{$this->TotalHeight}px;"; if (BDC_StringHelper::HasValue($this->_070t26b9hzzhmqoh)) { $_lyb69t6f90albjb5epgz8 = $_lyb69t6f90albjb5epgz8 . " " . $this->_070t26b9hzzhmqoh; } $_06el0yshzw5cqwd7j3gxz26sm1 .= "
  <div class=\"{$_1hkxetygizisqcoib2mw1}\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaDiv\" style=\"{$_lyb69t6f90albjb5epgz8}\"><!--
"; $_06el0yshzw5cqwd7j3gxz26sm1 = $this->wuhrd($_06el0yshzw5cqwd7j3gxz26sm1); if ($this->RenderIcons) { $_06el0yshzw5cqwd7j3gxz26sm1 .= " --></div><!--
"; } else { $_06el0yshzw5cqwd7j3gxz26sm1 .= " --></div>
"; } $_06el0yshzw5cqwd7j3gxz26sm1 = $this->uq1jk($_06el0yshzw5cqwd7j3gxz26sm1); $_06el0yshzw5cqwd7j3gxz26sm1 = $this->im7af($_06el0yshzw5cqwd7j3gxz26sm1); $_06el0yshzw5cqwd7j3gxz26sm1 .= "  </div>
"; return $_06el0yshzw5cqwd7j3gxz26sm1; } private function wuhrd($_0q6hx4uxflvyv4ne) { $_0q6hx4uxflvyv4ne .= " --><div class=\"BDC_CaptchaImageDiv\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaImageDiv\" style=\"width:{$this->ImageWidth}px !important; height:{$this->ImageHeight}px !important;\"><!--
"; if (!$this->HelpLinkEnabled) { $_0q6hx4uxflvyv4ne = $this->trg1t($_0q6hx4uxflvyv4ne); } else { switch ($this->HelpLinkMode) { case HelpLinkMode::Image: $_0q6hx4uxflvyv4ne = $this->dww1m($_0q6hx4uxflvyv4ne); break; case HelpLinkMode::Text: $_0q6hx4uxflvyv4ne = $this->cizfx($_0q6hx4uxflvyv4ne); break; } } return $_0q6hx4uxflvyv4ne; } private function trg1t($_Oz0tr7toc0jnevyf7fc0l) { $_Oz0tr7toc0jnevyf7fc0l .= "   --><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /><!--
"; return $_Oz0tr7toc0jnevyf7fc0l; } private function dww1m($_Oxtk6d4kmzgb99ns) { if ($this->IsTabIndexSet) { $_Oxtk6d4kmzgb99ns .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></a><!--
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Oxtk6d4kmzgb99ns .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" ><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></a><!--
"; } return $_Oxtk6d4kmzgb99ns; } private function cizfx($_Okc0u92fzqop71oufygp8) { $_0ar62vb3gpca0berejff3 = $this->TotalHeight - $this->m127z(); $_Okc0u92fzqop71oufygp8 .= "   --><div class=\"BDC_CaptchaImageDiv\" style=\"width:{$this->ImageWidth}px; height:{$_0ar62vb3gpca0berejff3}px;\"><img class=\"BDC_CaptchaImage\" id=\"{$this->_Iu5t7u5rpuau7e1sjkvw32fu73}\" src=\"{$this->CaptchaImageUrl}\" alt=\"{$this->ImageTooltip}\" style=\"{$this->CaptchaImageStyleCss}\" /></div><!--
"; $_ldocokvllbwtu3tz1rmfyvqtz9 = $this->m127z(); $_omovgc25zrt8ii0k6amelepl4l = $_ldocokvllbwtu3tz1rmfyvqtz9 - 1; if ($this->IsTabIndexSet) { $_Okc0u92fzqop71oufygp8 .= "   --><a href=\"{$this->HelpLinkUrl}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\" title=\"{$this->HelpLinkText}\" style=\"display: block !important; height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; margin: 0 !important; padding: 0 !important; font-size: {$_omovgc25zrt8ii0k6amelepl4l}px !important; line-height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;\">{$this->HelpLinkText}</a><!--
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Okc0u92fzqop71oufygp8 .= "   --><a href=\"{$this->HelpLinkUrl}\" title=\"{$this->HelpLinkText}\" style=\"display: block !important; height: {$_ldocokvllbwtu3tz1rmfyvqtz9}px !important; margin: 0 !important; padding: 0 !important; font-size: {$_omovgc25zrt8ii0k6amelepl4l}px !important; line-height: {$_omovgc25zrt8ii0k6amelepl4l}px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;\">{$this->HelpLinkText}</a><!--
"; } return $_Okc0u92fzqop71oufygp8; } private function uq1jk($_Otyr0xqsd8x290m1) { if ($this->RenderIcons) { $_Otyr0xqsd8x290m1 .= " --><div class=\"BDC_CaptchaIconsDiv\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_CaptchaIconsDiv\" style=\"width: {$this->IconsDivWidth}px !important;\"><!--
"; if ($this->ReloadEnabled) { if ($this->IsTabIndexSet) { $_Otyr0xqsd8x290m1 .= "   --><a class=\"BDC_ReloadLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadLink\" href=\"#\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\" title=\"{$this->ReloadTooltip}\"><img class=\"BDC_ReloadIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadIcon\" src=\"{$this->ReloadIconUrl}\" alt=\"{$this->ReloadTooltip}\" /></a><!--
"; if (-1 != $this->_Ir74gtavaoxt4ibnxknajw5kt5) { $this->_Ir74gtavaoxt4ibnxknajw5kt5++; } } else { $_Otyr0xqsd8x290m1 .= "   --><a class=\"BDC_ReloadLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadLink\" href=\"#\" title=\"{$this->ReloadTooltip}\"><img class=\"BDC_ReloadIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_ReloadIcon\" src=\"{$this->ReloadIconUrl}\" alt=\"{$this->ReloadTooltip}\" /></a><!--
"; } } $_Iib5emwmtu9l2nek = $this->CaptchaSoundUrl; if ($this->SoundEnabled) { if ($this->CaptchaSoundAvailable) { if ($this->IsTabIndexSet) { $_Otyr0xqsd8x290m1 .= "   --><a rel=\"nofollow\" class=\"BDC_SoundLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"{$_Iib5emwmtu9l2nek}\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"  title=\"{$this->SoundTooltip}\" target=\"_blank\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"{$this->SoundTooltip}\" /></a><!--
"; } else { $_Otyr0xqsd8x290m1 .= "   --><a rel=\"nofollow\" class=\"BDC_SoundLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"{$_Iib5emwmtu9l2nek}\" title=\"{$this->SoundTooltip}\" target=\"_blank\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"{$this->SoundTooltip}\" /></a><!--
"; } } else if ($this->_ol9r98laxg81kqs3ycgukwbza0->WarnAboutMissingSoundPackages) { $_Otyr0xqsd8x290m1 .= "   --><a target=\"_blank\" class=\"BDC_DisabledLink\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundLink\" href=\"#\" tabindex=\"{$this->_Ir74gtavaoxt4ibnxknajw5kt5}\"><img class=\"BDC_SoundIcon\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_SoundIcon\" src=\"{$this->SoundIconUrl}\" alt=\"\" /><span>{$this->SoundTooltip}</span></a><!--
"; } } if ($this->SoundEnabled) { $_Otyr0xqsd8x290m1 .="   --><div class=\"BDC_Placeholder\" id=\"{$this->_Ovtxzyah0c5ctro4t3vrk}_AudioPlaceholder\">&nbsp;</div><!--
"; } $_Otyr0xqsd8x290m1 .= " --></div>
"; } return $_Otyr0xqsd8x290m1; } private function im7af($_1vt7yc3x6nver9vc9wt5a) { $_0yfohtc8canwb1zlp3905 = $this->AutoUppercaseInput ? "true" : "false"; $_oitvtebyixyf2cvq = $this->AutoFocusInput ? "true" : "false"; $_Otf6n41sd3y3bp87pc42e = $this->AutoClearInput ? "true" : "false"; $_oprndjm0lt97nwtjozmwp3hqrv = $this->AutoReloadExpiredCaptchas ? "true" : "false"; $_ohqm55gx2up4sv9vy2c70om8ne = $this->CodeTimeout; $_luu0qk8x5lyae1w09he3hww2b2 = $this->AutoReloadTimeout; $_I5jztk8miczesff6qfovk63ztt = $this->SoundStartDelay; $_lzc4oqfllaibc2n6jct6gfgotz = ($this->SoundRegenerationMode == SoundRegenerationMode::Limited) ? "true" : "false"; if ($this->AddScriptInclude) { $_1vt7yc3x6nver9vc9wt5a .= $this->GetScriptIncludeMarkup(); } $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_UserSpecifiedCaptchaId\" id=\"BDC_UserSpecifiedCaptchaId\" value=\"{$this->_Ovtxzyah0c5ctro4t3vrk}\" />
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"{$this->_ovcomgsjv5yd5630onp1euprno}\" id=\"{$this->_ovcomgsjv5yd5630onp1euprno}\" value=\"{$this->InstanceId}\" />
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_BackWorkaround_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_BackWorkaround_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"0\" />
"; if($this->UseM()) { $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_Hs_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_Hs_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"{$this->_Ip0ph4xsyb7i66bg->GetHs()}\" />
"; $_1vt7yc3x6nver9vc9wt5a .= "    <input type=\"hidden\" name=\"BDC_SP_{$this->_Ovtxzyah0c5ctro4t3vrk}\" id=\"BDC_SP_{$this->_Ovtxzyah0c5ctro4t3vrk}\" value=\"{$this->_Ip0ph4xsyb7i66bg->GetSP()}\" />
"; } return $_1vt7yc3x6nver9vc9wt5a; } public static function IsFree() { return BDC_CaptchaBase::IsFree; } public static function GetProductInfo() { return BDC_CaptchaBase::$ProductInfo; } private function m127z() { return $this->HelpLinkHeight; } public static function LibInfo() { $_1g37ih7342phagu9 = ''; $_1g37ih7342phagu9 .= BDC_CaptchaBase::$ProductInfo["name"] . " version " . BDC_CaptchaBase::$ProductInfo["version"]; $_1g37ih7342phagu9 .= " " . (BDC_CaptchaBase::IsFree ? "Free" : "Enterprise"); $_1g37ih7342phagu9 .= " loaded by PHP version " . PHP_VERSION; return $_1g37ih7342phagu9; } public function __get($_Ounq4kf6b0r2ba2fdsrap) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_Om30lmz0quh2s75vem0hb = "get_".$_Ounq4kf6b0r2ba2fdsrap))) { return $this->_1jrznqqgj5fxe5wbyqoen->$_Om30lmz0quh2s75vem0hb(); } else if (method_exists($this, ($_Om30lmz0quh2s75vem0hb = "get_".$_Ounq4kf6b0r2ba2fdsrap))) { return $this->$_Om30lmz0quh2s75vem0hb(); } else return; } public function __isset($_Iqpfzlibo9uemmsk) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_1lv9ogxxe5opju6tx5f3xdvnrh = "isset_".$_Iqpfzlibo9uemmsk))) { return $this->_1jrznqqgj5fxe5wbyqoen->$_1lv9ogxxe5opju6tx5f3xdvnrh(); } else if (method_exists($this, ($_1lv9ogxxe5opju6tx5f3xdvnrh = "isset_".$_Iqpfzlibo9uemmsk))) { return $this->$_1lv9ogxxe5opju6tx5f3xdvnrh(); } else return; } public function __set($_Izwrc5q78bae3ffrs9jdw, $_od0airelflv8rc2o) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_izl20pqd26zwpj71s8f5h = "set_".$_Izwrc5q78bae3ffrs9jdw))) { $this->_1jrznqqgj5fxe5wbyqoen->$_izl20pqd26zwpj71s8f5h($_od0airelflv8rc2o); } else if (method_exists($this, ($_izl20pqd26zwpj71s8f5h = "set_".$_Izwrc5q78bae3ffrs9jdw))) { $this->$_izl20pqd26zwpj71s8f5h($_od0airelflv8rc2o); } } public function __unset($_1iq2vwl2bfwfb8h3v7xv1) { if (method_exists($this->_1jrznqqgj5fxe5wbyqoen, ($_iac8g0wobo2e268z = "unset_".$_1iq2vwl2bfwfb8h3v7xv1))) { $this->_1jrznqqgj5fxe5wbyqoen->$_iac8g0wobo2e268z(); } else if (method_exists($this, ($_iac8g0wobo2e268z = "unset_".$_1iq2vwl2bfwfb8h3v7xv1))) { $this->$_iac8g0wobo2e268z(); } } } ?>

Function Calls

None

Variables

None

Stats

MD5 8ffdbe0866bdda5d5d3c2ebea08bd1ca
Eval Count 0
Decode Time 176 ms