���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC jQuery( function( $ ) { $( '.smart-cf-fields-wrapper' ).each( function( i, e ) { var wrapper = $( e ); var btn_add_group = wrapper.find( '.btn-add-group' ); var btn_remove_group = wrapper.find( '.btn-remove-group' ); var btn_add_field = wrapper.find( '.btn-add-field' ); var btn_remove_field = wrapper.find( '.btn-remove-field' ); var group_class = '.smart-cf-group'; var field_class = '.smart-cf-field'; var duplicate_alert_class = '.smart-cf-duplicate-alert'; var options = wrapper.find( '.smart-cf-field-options' ); var cnt = wrapper.find( field_class ).length; /** * 重複エラーメッセージ表示 & 重複時の更新不可 */ wrapper.find( 'input[class="smart-cf-group-name"], input[class="smart-cf-field-name"]' ).keyup( function() { var val = $( this ).val(); var cnt = 0; wrapper.find( 'input[class="smart-cf-group-name"], input[class="smart-cf-field-name"]' ).each( function( i, e ) { if ( val === $( this ).val() && val !== '' ) { cnt ++; } } ); if ( cnt > 1 ) { if ( $( this ).siblings( duplicate_alert_class ).length < 1 ) { $( this ).after( $( '
' ) .addClass( duplicate_alert_class.replace( '.', '' ) ) .text( smart_cf_settings.duplicate_alert ) ); } cnt = 0; } else { $( this ).siblings( duplicate_alert_class ).remove(); } if ( $( duplicate_alert_class ).length ) { $( '#publish' ).attr( 'disabled', 'disabled' ); } else { $( '#publish' ).removeAttr( 'disabled' ); } } ); /** * sortable */ $( '.smart-cf-groups' ).sortable( { cursor: 'move', handle: '.smart-cf-icon-handle' } ); $( '.smart-cf-fields' ).sortable( { cursor: 'move', handle: '.smart-cf-icon-handle' } ); /** * フィールドの開閉 */ $( '.field-label' ).click( function() { var field_label = $( this ); var table = $( this ).parents( field_class ).find( 'table' ); if ( table.hasClass( 'hide' ) ) { field_label.html( " " ); table.fadeIn( 'fast', function() { $( this ).removeClass( 'hide' ); table.find( '.smart-cf-field-options' ).each( function( i, e ) { $( this ).trigger( 'smart-cf-setting-field-open', e ); } ); } ); } else { var field_options = table.find( '.smart-cf-field-options:visible' ); var label = field_options.find( '.smart-cf-field-label' ).val(); var name = $( '' ).text( '[ ' + field_options.find('.smart-cf-field-name').val() + ' ]' ); if ( !label ) { label = field_options.find( '.smart-cf-field-name' ).val(); } table.fadeOut( 'fast', function() { $( this ).addClass( 'hide' ); field_label.text( label + " " ).append( name ); } ); } } ); /** * グループ追加ボタン */ btn_add_group.click( function() { cnt ++; var group = wrapper.find( group_class ); var group_clone = group.first().clone( true, true ); group.last().after( group_clone.fadeIn( 'fast', function() { $( this ).removeClass( 'hide' ); } ) ); var field = group_clone.find( field_class ); var field_clone = field.first().clone( true, true ); field.last().after( field_clone.removeClass( 'hide' ) ); group_clone.find( 'input, select, textarea' ).each( function( i, e ) { $( this ).attr( 'name', $( this ).attr( 'name' ).replace( /^(smart-custom-fields)\[\d+\]/, '$1[' + cnt + ']' ) ); } ); field_clone.find( 'input, select, textarea' ).each( function( i, e ) { $( this ).attr( 'name', $( this ).attr( 'name' ).replace( /^(smart-custom-fields)\[.+?\](\[fields\])\[\d+?\]/, '$1[' + cnt + ']$2[' + cnt + ']' ) ); } ); } ); /** * グループ削除ボタン */ btn_remove_group.click( function() { $( this ).parents( group_class ).fadeOut( 'fast', function() { $( this ).remove(); } ); } ); /** * フィールド追加ボタン */ btn_add_field.click( function() { cnt ++; var group = $( this ).parents( group_class ); var field = group.find( field_class ); var clone = field.first().clone( true, true ); field.last().after( clone.fadeIn( 'fast', function() { $( this ).removeClass( 'hide' ); } ) ); clone.find( 'input, select, textarea' ).each( function( i, e ) { $( this ).attr( 'name', $( this ).attr( 'name' ).replace( /^(smart-custom-fields\[.+?\]\[fields\])\[\d+?\]/, '$1[' + cnt + ']' ) ); } ); } ); /** * フィールド削除ボタン */ btn_remove_field.click( function() { $( this ).parents( field_class ).fadeOut( 'fast', function() { $( this ).remove(); } ); } ); /** * 選択項目オプション */ options.find( 'input, textarea, select' ).attr( 'disabled', 'disabled' ); wrapper.find( '.smart-cf-field-select' ).each( function( i, e ) { var selected_type = $( this ).val(); $( this ).parents( field_class ).find( '.smart-cf-field-options-' + selected_type ) .removeClass( 'hide' ) .find( 'input, textarea, select' ).removeAttr( 'disabled' ); } ); wrapper.find( '.smart-cf-field-select' ).change( function() { var field = $( this ).parents( field_class ); var val = $( this ).val(); var hide_options = field.find( '.smart-cf-field-options' ); hide_options.addClass( 'hide' ); hide_options.find( 'input, textarea, select' ).attr( 'disabled', 'disabled' ); var show_options = field.find( '.smart-cf-field-options-' + val ); show_options.find( 'input, textarea, select' ).removeAttr( 'disabled' ); show_options.removeClass( 'hide' ); show_options.trigger( 'smart-cf-setting-show-options', show_options ); } ); /** * リピートボタンクリック時 */ wrapper.find( '.smart-cf-group-repeat input' ).click( function() { var group = $( this ).parents( group_class ); var names = group.find( '.smart-cf-group-names' ); var btn_add_field = group.find( '.btn-add-field' ); if ( $( this ).prop( 'checked' ) ) { names.removeClass( 'hide' ); btn_add_field.removeClass( 'hide' ); } else { names.addClass( 'hide' ); btn_add_field.addClass( 'hide' ); } } ); /** * Convert string to slug * https://gist.github.com/codeguy/6684588 */ function string_to_slug(str) { str = str.replace(/^\s+|\s+$/g, ""); // trim str = str.toLowerCase(); // remove accents, swap ñ for n, etc var from = "åàáãäâèéëêìíïîòóöôùúüûñç·/-,:;"; var to = "aaaaaaeeeeiiiioooouuuunc______"; for (var i = 0, l = from.length; i < l; i++) { str = str.replace(new RegExp(from.charAt(i), "g"), to.charAt(i)); } str = str .replace(/[^a-z0-9 -]/g, "") // remove invalid chars .replace(/\s+/g, "_") // collapse whitespace and replace by - .replace(/-+/g, "_"); // collapse dashes return str; } /** * フィールド名入力ボックス */ wrapper.find( '.smart-cf-field-name' ).focus( function() { var field = $( this ).parents( '.smart-cf-field-options' ); var label_val = field.find( '.smart-cf-field-label' ).val(); var name_val = $( this ).val(); if ( label_val && !name_val) { $( this ).val( string_to_slug(label_val) ); } } ); } ); /** * Add autocomplete (selectivity plguin) in posts condition field * https://github.com/arendjr/selectivity */ $('#smart-cf-autocomplete-condition-post').selectivity({ data: smart_cf_saved_posts, multiple: true, placeholder: smart_cf_settings.autocomplete_placeholder, ajax: { url: smart_cf_settings.rest_api_url, quietMillis: 200, params: function(term, offset) { return { _wpnonce: smart_cf_settings.nonce, }; }, }, templates: { multipleSelectInput: function(options) { return ( '
' + (options.enabled ? '' : '
') + '
' + '
' ); }, multipleSelectedItem: function(options) { var extraClass = options.highlighted ? ' highlighted' : ''; return ( '' + (options.removable ? '' + 'x' + '' : '') + options.id + '' ); //options.text }, dropdown: function(options) { var extraClass = options.dropdownCssClass ? ' ' + options.dropdownCssClass : '', searchInput = ''; if (options.showSearchInput) { extraClass += ' has-search-input'; var placeholder = options.searchInputPlaceholder; searchInput = '
' + '' + '
'; } return ( '
' + searchInput + '
' + '
' ); }, loading: function() { return '
' + smart_cf_settings.loading + '
'; }, loadMore: function() { return '
' + smart_cf_settings.load_more + '
'; }, } }); $('#smart-cf-autocomplete-condition-post').on('change', function() { var data = $(this).selectivity('value'); $('[name="smart-cf-condition-post-ids"]').val(data); }); /** * Add IOS style for checkboxes */ $('.smart-cf-group .smart-cf-group-repeat label, #smart-cf-meta-box-condition-post, #smart-cf-meta-box-condition-profile, #smart-cf-meta-box-condition-taxonomy, #smart-cf-meta-box-condition-options-page') .find('input[type=checkbox]') .iosCheckbox(); } );